From 06d048704cbf1bd128eae6a70366a1d766e63f37 Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Sun, 19 Dec 1999 23:41:04 +0000 Subject: [PATCH] Define SHUT_RD if the O.S. headers don't. --- includes/osdep.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/includes/osdep.h b/includes/osdep.h index 89a29d67..866e0f71 100644 --- a/includes/osdep.h +++ b/includes/osdep.h @@ -227,6 +227,10 @@ # 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 @@ -279,4 +283,9 @@ # 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__ */