summaryrefslogtreecommitdiff
path: root/includes/osdep.h
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1999-10-24 23:25:33 +0000
committerTed Lemon <source@isc.org>1999-10-24 23:25:33 +0000
commit5d4afdbcd2754ee05137e650baa85a9e2475b200 (patch)
tree742b13e9ff9b46116539af865dccdcdd12d79943 /includes/osdep.h
parenta1b705e544f3e80354d783875640d6e45b4f5113 (diff)
downloadisc-dhcp-5d4afdbcd2754ee05137e650baa85a9e2475b200.tar.gz
Fix Linux compiles.
Diffstat (limited to 'includes/osdep.h')
-rw-r--r--includes/osdep.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/includes/osdep.h b/includes/osdep.h
index 53100f2f..89a29d67 100644
--- a/includes/osdep.h
+++ b/includes/osdep.h
@@ -171,7 +171,9 @@
fallback. */
#if defined (USE_BPF_SEND) || defined (USE_NIT_SEND) || \
- defined (USE_DLPI_SEND) || defined (USE_UPF_SEND) || defined (USE_LPF_SEND)
+ defined (USE_DLPI_SEND) || defined (USE_UPF_SEND) || \
+ defined (USE_LPF_SEND) || \
+ (defined (USE_SOCKET_SEND) && defined (SO_BINDTODEVICE))
# define USE_SOCKET_FALLBACK
# define USE_FALLBACK
#endif
@@ -196,7 +198,7 @@
#if defined (USE_RAW_RECEIVE) || defined (USE_BPF_SEND) || \
defined (USE_NIT_RECEIVE) || defined (USE_UPF_RECEIVE) || \
- defined (USE_DLPI_RECEIVE) || defined (USE_LPF_RECEIVE)
+ defined (USE_DLPI_RECEIVE) || defined (USE_LPF_RECEIVE)
# define PACKET_DECODING
#endif