Undef _POSIX_SOURCE before including <sys/param.h>.
authorroland <roland>
Mon, 24 Oct 1994 20:10:25 +0000 (20:10 +0000)
committerroland <roland>
Mon, 24 Oct 1994 20:10:25 +0000 (20:10 +0000)
sunrpc/get_myaddr.c

index f305174..9692f85 100644 (file)
@@ -42,6 +42,7 @@ static char sccsid[] = "@(#)get_myaddress.c 1.4 87/08/11 Copyr 1984 Sun Micro";
 #include <rpc/pmap_prot.h>
 #include <sys/socket.h>
 #include <stdio.h>
+#undef  _POSIX_SOURCE          /* Ultrix <sys/param.h> needs --roland@gnu */
 #include <sys/param.h>         /* Ultrix needs before net/if --roland@gnu */
 #include <net/if.h>
 #include <sys/ioctl.h>