diff options
author | fenner <fenner> | 2000-01-10 16:57:44 +0000 |
---|---|---|
committer | fenner <fenner> | 2000-01-10 16:57:44 +0000 |
commit | 809bf162309b120a0173eefdd73eb2b129750c7d (patch) | |
tree | 4ddfbf7b0d799df6aff1200e4c5a32df5c6a8551 /missing | |
parent | db193ee95e3ccc813fec591e5f83b6fc0cf9a49f (diff) | |
download | tcpdump-809bf162309b120a0173eefdd73eb2b129750c7d.tar.gz |
Include <sys/types.h> to allow compilation on Solaris.
Diffstat (limited to 'missing')
-rw-r--r-- | missing/snprintf.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/missing/snprintf.c b/missing/snprintf.c index 49c70e61..9683ecaf 100644 --- a/missing/snprintf.c +++ b/missing/snprintf.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. */ -/* $Id: snprintf.c,v 1.2 2000-01-09 21:35:46 fenner Exp $ */ +/* $Id: snprintf.c,v 1.3 2000-01-10 16:57:44 fenner Exp $ */ #ifdef HAVE_CONFIG_H #include <config.h> @@ -39,7 +39,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/missing/snprintf.c,v 1.2 2000-01-09 21:35:46 fenner Exp $"; + "@(#) $Header: /tcpdump/master/tcpdump/missing/snprintf.c,v 1.3 2000-01-10 16:57:44 fenner Exp $"; #endif #include <stdio.h> @@ -47,6 +47,7 @@ static const char rcsid[] = #include <stdlib.h> #include <string.h> #include <ctype.h> +#include <sys/types.h> #include <interface.h> |