]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Put back an #endif.
authorGuy Harris <[email protected]>
Tue, 30 Jan 2018 00:23:11 +0000 (16:23 -0800)
committerGuy Harris <[email protected]>
Tue, 30 Jan 2018 00:23:11 +0000 (16:23 -0800)
Include <stdio.h> on Digital/Tru64 UNIX to get snprintf(); we assume the
versions on which people will build this (if any) will have it.  (1998
called, they want their C library back....)

machdep.c

index f55c2688190d20cff620a8a5abc1000124af7e57..f1505fdfb04696c266e866e956c51833cd6ed035 100644 (file)
--- a/machdep.c
+++ b/machdep.c
 #include "netdissect-stdinc.h"
 
 #ifdef __osf__
+#include <stdio.h>
 #include <sys/sysinfo.h>
 #include <sys/proc.h>
+#endif /* __osf__ */
 
 #include "machdep.h"