summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/tty.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2002-03-31 01:56:34 +0000
committerbrian <brian@FreeBSD.org>2002-03-31 01:56:34 +0000
commitab4711b90a22b0d3699c7c872ab6cd9236c9f7c8 (patch)
treeda7defb909d01f02362c4b7bf19c10d71b296e2a /usr.sbin/ppp/tty.c
parentb222d9573a500774db8c44386952d3a5a4c7fc03 (diff)
downloadFreeBSD-src-ab4711b90a22b0d3699c7c872ab6cd9236c9f7c8.zip
FreeBSD-src-ab4711b90a22b0d3699c7c872ab6cd9236c9f7c8.tar.gz
Add a missing ``#ifndef NONETGRAPH''
Diffstat (limited to 'usr.sbin/ppp/tty.c')
-rw-r--r--usr.sbin/ppp/tty.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/ppp/tty.c b/usr.sbin/ppp/tty.c
index 7703cc3..83783ec 100644
--- a/usr.sbin/ppp/tty.c
+++ b/usr.sbin/ppp/tty.c
@@ -41,11 +41,13 @@
#include <sys/uio.h>
#include <termios.h>
#include <unistd.h>
+#ifndef NONETGRAPH
#include <netgraph.h>
#include <netgraph/ng_async.h>
#include <netgraph/ng_message.h>
#include <netgraph/ng_ppp.h>
#include <netgraph/ng_tty.h>
+#endif
#include "layer.h"
#include "defs.h"
OpenPOWER on IntegriCloud