]> arthur.barton.de Git - netatalk.git/commitdiff
fix for debian's bad netinet/tcp.h, including stdint.h
authorrufustfirefly <rufustfirefly>
Thu, 5 Oct 2000 13:51:34 +0000 (13:51 +0000)
committerrufustfirefly <rufustfirefly>
Thu, 5 Oct 2000 13:51:34 +0000 (13:51 +0000)
configure.in
libatalk/dsi/dsi_tcp.c
libatalk/util/getiface.c

index 727a32f4ed93570cf1c09d7758a744f118b92c20..1de63ec939f7154daca7dc0cafe9b4ef58b5f333 100644 (file)
@@ -78,7 +78,7 @@ dnl Checks for header files.
 AC_HEADER_DIRENT
 AC_HEADER_STDC
 AC_HEADER_SYS_WAIT
-AC_CHECK_HEADERS(fcntl.h limits.h strings.h sys/file.h sys/ioctl.h sys/time.h syslog.h unistd.h)
+AC_CHECK_HEADERS(fcntl.h limits.h stdint.h strings.h sys/file.h sys/ioctl.h sys/time.h syslog.h unistd.h)
 AC_CHECK_HEADER(sys/cdefs.h,,
        AC_MSG_RESULT([enabling generic cdefs.h from tree])
        CFLAGS="-I\$(top_srcdir)/sys/generic $CFLAGS"
index 87dee0e5243228d62375b04dedc709c86d68d303..34f124b98270f18d356064502776982b58d21968 100644 (file)
 #include <sys/time.h>
 #include <sys/socket.h>
 
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
+
 #include <sys/ioctl.h>
 #include <net/if.h>
 #include <netinet/tcp.h>
index 591ca2840505d1d36a7c0f7735704db550455b59..80b5b43d131aecf47842c55ecad2024ebba13197 100644 (file)
 #include <stdlib.h>
 #include <string.h>
 
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
+
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/ioctl.h>