include sys/socket.h if possible (this should make rsync compile

cleanly on SCO)
This commit is contained in:
Andrew Tridgell committed 1997-12-15 16:27:04 +00:00
1 parent 6574b4f7d9
commit fdd71e177d
2 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ AC_HEADER_TIME
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS(sys/fcntl.h sys/select.h fcntl.h sys/time.h sys/unistd.h unistd.h utime.h grp.h)
AC_CHECK_HEADERS(compat.h sys/param.h ctype.h sys/wait.h sys/ioctl.h)
AC_CHECK_HEADERS(sys/filio.h string.h stdlib.h sys/mode.h)
AC_CHECK_HEADERS(sys/filio.h string.h stdlib.h sys/socket.h sys/mode.h)
AC_CHECK_SIZEOF(int)
AC_CHECK_SIZEOF(long)
+4
View File
@@ -75,6 +75,10 @@
#include <stdlib.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_STRING_H
#include <string.h>
#endif