summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/sr/if_sr.c2
-rw-r--r--sys/dev/sr/if_sr_isa.c2
-rw-r--r--sys/i386/isa/if_sr.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/sr/if_sr.c b/sys/dev/sr/if_sr.c
index c331e3f..e9b0d08 100644
--- a/sys/dev/sr/if_sr.c
+++ b/sys/dev/sr/if_sr.c
@@ -59,7 +59,7 @@
#endif
#endif /* NETGRAPH */
-#ifdef NETGRAPH
+#ifndef NETGRAPH
#include "sppp.h"
#if NSPPP <= 0
#error Device 'sr' requires sppp.
diff --git a/sys/dev/sr/if_sr_isa.c b/sys/dev/sr/if_sr_isa.c
index c331e3f..e9b0d08 100644
--- a/sys/dev/sr/if_sr_isa.c
+++ b/sys/dev/sr/if_sr_isa.c
@@ -59,7 +59,7 @@
#endif
#endif /* NETGRAPH */
-#ifdef NETGRAPH
+#ifndef NETGRAPH
#include "sppp.h"
#if NSPPP <= 0
#error Device 'sr' requires sppp.
diff --git a/sys/i386/isa/if_sr.c b/sys/i386/isa/if_sr.c
index c331e3f..e9b0d08 100644
--- a/sys/i386/isa/if_sr.c
+++ b/sys/i386/isa/if_sr.c
@@ -59,7 +59,7 @@
#endif
#endif /* NETGRAPH */
-#ifdef NETGRAPH
+#ifndef NETGRAPH
#include "sppp.h"
#if NSPPP <= 0
#error Device 'sr' requires sppp.
OpenPOWER on IntegriCloud