]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Define SHUT_RD if the O.S. headers don't.
authorTed Lemon <source@isc.org>
Sun, 19 Dec 1999 23:41:04 +0000 (23:41 +0000)
committerTed Lemon <source@isc.org>
Sun, 19 Dec 1999 23:41:04 +0000 (23:41 +0000)
includes/osdep.h

index 89a29d67fe960c2a31f3ceb4d3fb6a020716e366..866e0f7151b938b31b53711da6f484951e2fbf0a 100644 (file)
 # define BPF_FORMAT "/dev/bpf%d"
 #endif
 
+#if defined (F_SETFD) && !defined (HAVE_SETFD)
+# define HAVE_SETFD
+#endif
+
 #if defined (IFF_POINTOPOINT) && !defined (HAVE_IFF_POINTOPOINT)
 # define HAVE_IFF_POINTOPOINT
 #endif
 # define HAVE_AF_LINK
 #endif
 
+/* Linux needs to define SHUT_* in /usr/include/sys/socket.h someday... */
+#if !defined (SHUT_RD)
+# define SHUT_RD 0
+#endif
+
 #endif /* __ISC_DHCP_OSDEP_H__ */