summaryrefslogtreecommitdiff
path: root/machdep.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-01-29 16:23:11 -0800
committerGuy Harris <guy@alum.mit.edu>2018-01-29 16:23:11 -0800
commit5d55ad37615ac9ec2787d581800a5cedff94e719 (patch)
treee083b4ba8ff4600e09df76fe8a18674129463bd2 /machdep.c
parentc499612a7f1024a183d0200ef5f1ea7fba63a3e4 (diff)
downloadtcpdump-5d55ad37615ac9ec2787d581800a5cedff94e719.tar.gz
Put back an #endif.
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....)
Diffstat (limited to 'machdep.c')
-rw-r--r--machdep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/machdep.c b/machdep.c
index f55c2688..f1505fdf 100644
--- a/machdep.c
+++ b/machdep.c
@@ -32,8 +32,10 @@
#include "netdissect-stdinc.h"
#ifdef __osf__
+#include <stdio.h>
#include <sys/sysinfo.h>
#include <sys/proc.h>
+#endif /* __osf__ */
#include "machdep.h"