summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAdi Masputra <adi.masputra@sun.com>1999-10-08 01:10:12 +0000
committerAdi Masputra <adi.masputra@sun.com>1999-10-08 01:10:12 +0000
commit2133584587ca3c78d01ef554fcb30e211aa756e2 (patch)
tree9a3f53a81e486caea726482e29e4fd25408ed199 /modules
parent883251748fedc67c0e55e7d01fa75ae15da142ba (diff)
downloadppp-2133584587ca3c78d01ef554fcb30e211aa756e2.tar.gz
Took <netinet/in.h> out of PRIOQ block because we need htons defined when
not compiling with PRIOQ
Diffstat (limited to 'modules')
-rw-r--r--modules/ppp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/ppp.c b/modules/ppp.c
index 22c3b3a..0ed435b 100644
--- a/modules/ppp.c
+++ b/modules/ppp.c
@@ -24,7 +24,7 @@
* OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS,
* OR MODIFICATIONS.
*
- * $Id: ppp.c,v 1.24 1999/10/06 23:00:43 masputra Exp $
+ * $Id: ppp.c,v 1.25 1999/10/08 01:10:12 masputra Exp $
*/
/*
@@ -73,9 +73,10 @@
* interactive traffic, and are due to Marko Zec <zec@japa.tel.fer.hr>.
*/
#ifdef PRIOQ
-#include <netinet/in.h>
#endif /* PRIOQ */
+#include <netinet/in.h> /* leave this outside of PRIOQ for htons */
+
#ifdef __STDC__
#define __P(x) x
#else