summaryrefslogtreecommitdiffstats
path: root/if.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2016-07-27 04:11:00 +0000
committerRoy Marples <roy@marples.name>2016-07-27 04:11:00 +0000
commit34c6272765b1f870f25aad261f759dd9d4776abc (patch)
treefb896ae854ce6db8e2f5cd07393704e3240c05dd /if.h
parent808263280791fe21464517f04c73722ee9d2bb06 (diff)
downloaddhcpcd-34c6272765b1f870f25aad261f759dd9d4776abc.tar.xz
#undef RTF_CLONING for Solaris in if.h so it's picked up everywhere.
Diffstat (limited to 'if.h')
-rw-r--r--if.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/if.h b/if.h
index 55ae4093..c56e4de0 100644
--- a/if.h
+++ b/if.h
@@ -90,6 +90,10 @@
#define RAW_PARTIALCSUM 2 << 0
#ifdef __sun
+/* Solaris stupidly defines this for compat with BSD
+ * but then ignores it. */
+#undef RTF_CLONING
+
/* Solaris getifaddrs is very un-suitable for dhcpcd.
* See if-sun.c for details why. */
struct ifaddrs;