From c23ed625b22bfc765ba95cb7b8addf55625fea44 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 7 Jan 1998 06:21:56 +0000 Subject: includes.h: Added FreeBSD 3.x fixes. Added HPUX10.x fixes. interface.c: Added netmask fix. nmbd_nameregister.c: Fixed unitialised variable warnings. nmbd_winsproxy.c: Fixed unitialised variable warnings. nmbd_winsserver.c: Fixed DEC warnings. print_svid.c: Fixed DEC warnings. printing.c: Added LPRng fixes. Jeremy. (This used to be commit 28aff043c4a3693a0c20e87c7ce11eb4bf285b78) --- source3/include/includes.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'source3/include') diff --git a/source3/include/includes.h b/source3/include/includes.h index c99880cad3..3dbe6780a5 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -510,12 +510,16 @@ char *mktemp(char *); /* No standard include */ #include #include #include +#if __FreeBSD__ >= 3 +#include +#else +#define USE_DIRECT +#endif #define SIGNAL_CAST (void (*)()) #define USE_SETVBUF #define USE_SETSID #define USE_GETCWD #define USE_WAITPID -#define USE_DIRECT #define HAVE_MEMMOVE #define HAVE_BZERO #define HAVE_GETTIMEOFDAY @@ -568,6 +572,7 @@ char *mktemp(char *); /* No standard include */ #include #include #include +#include /* needed for inet_ntoa proto */ #ifdef HPUX_10_TRUSTED #include #include -- cgit