]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Define SHUT_RD if it's not already defined.
authorTed Lemon <source@isc.org>
Thu, 21 Oct 1999 12:32:45 +0000 (12:32 +0000)
committerTed Lemon <source@isc.org>
Thu, 21 Oct 1999 12:32:45 +0000 (12:32 +0000)
includes/cf/linux.h

index c46fe064e4ee1c645605c88db99c4759ca7c15f6..0f415f076061f5e760bf204a6ca84640b968ab1d 100644 (file)
@@ -124,3 +124,8 @@ extern int h_errno;
 
 #define ALIAS_NAMES_PERMUTED
 #define SKIP_DUMMY_INTERFACES
+
+/* Linux needs to define SHUT_* in /usr/include/sys/socket.h someday... */
+#if !defined (SHUT_RD)
+# define SHUT_RD 0
+#endif