X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/513f782ae18791f0c925b9235da749b38159b607..b51a0dafc7861eb31d21524ec067d7c529a664b8:/machdep.c?ds=sidebyside diff --git a/machdep.c b/machdep.c index ba1f98d5..2578b73c 100644 --- a/machdep.c +++ b/machdep.c @@ -20,26 +20,18 @@ */ #ifdef HAVE_CONFIG_H -#include "config.h" +#include #endif -/* - * XXX - all we need, on platforms other than DEC OSF/1 (a/k/a Digital UNIX, - * a/k/a Tru64 UNIX), is "size_t", which is a standard C type; what do we - * need to do to get it defined? This is clearly wrong, as we shouldn't - * have to include UNIX or Windows system header files to get it. - */ -#include "netdissect-stdinc.h" +#include #ifdef __osf__ +#include #include #include - -#if !defined(HAVE_SNPRINTF) -int snprintf(char *, size_t, const char *, ...) PRINTFLIKE(3, 4); -#endif /* !defined(HAVE_SNPRINTF) */ #endif /* __osf__ */ +#include "varattrs.h" #include "machdep.h" /*