mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-09-01 14:55:30 +00:00
Define SHUT_RD if the O.S. headers don't.
This commit is contained in:
@@ -227,6 +227,10 @@
|
|||||||
# define BPF_FORMAT "/dev/bpf%d"
|
# define BPF_FORMAT "/dev/bpf%d"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined (F_SETFD) && !defined (HAVE_SETFD)
|
||||||
|
# define HAVE_SETFD
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined (IFF_POINTOPOINT) && !defined (HAVE_IFF_POINTOPOINT)
|
#if defined (IFF_POINTOPOINT) && !defined (HAVE_IFF_POINTOPOINT)
|
||||||
# define HAVE_IFF_POINTOPOINT
|
# define HAVE_IFF_POINTOPOINT
|
||||||
#endif
|
#endif
|
||||||
@@ -279,4 +283,9 @@
|
|||||||
# define HAVE_AF_LINK
|
# define HAVE_AF_LINK
|
||||||
#endif
|
#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__ */
|
#endif /* __ISC_DHCP_OSDEP_H__ */
|
||||||
|
Reference in New Issue
Block a user