]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Correct define to __OpenBSD__.
authorRoy Marples <roy@marples.name>
Sun, 9 Oct 2016 08:02:37 +0000 (08:02 +0000)
committerRoy Marples <roy@marples.name>
Sun, 9 Oct 2016 08:02:37 +0000 (08:02 +0000)
Fixes [ad8b5130d4] again.

if.h

diff --git a/if.h b/if.h
index fb83f0cd8f9c4f2007e30d2be84c516ed164264e..d2b757aef65cf2f27116ed6aacab6924f794a463 100644 (file)
--- a/if.h
+++ b/if.h
@@ -43,7 +43,7 @@
 # endif
 #endif
 
-#if defined(__OpenBSD) || defined (__sun)
+#if defined(__OpenBSD__) || defined (__sun)
 #  define ROUTE_PER_GATEWAY
 /* XXX dhcpcd doesn't really support this yet.
  * But that's generally OK if only dhcpcd is managing routes. */