Configure check for sys/time.h
[deb_libnfs.git] / examples / nfsclient-bcast.c
index ae08f16e5fe3f02d681adcbed92b114167ddb585..62ea6549d29ba295003feeb82932565545c0aa44 100644 (file)
 #include <stdlib.h>
 #include <string.h>
 #include <errno.h>
+
+#ifdef HAVE_SYS_TIME_H
 #include <sys/time.h>
+#endif
+
+#ifdef HAVE_NET_IF_H
 #include <net/if.h>
+#endif
+
+#ifdef HAVE_NETDB_H
 #include <netdb.h>
+#endif
 
 #ifdef HAVE_SYS_IOCTL_H
 #include <sys/ioctl.h>