Took <netinet/in.h> out of PRIOQ block because we need htons defined when
authorAdi Masputra <adi.masputra@sun.com>
Fri, 8 Oct 1999 01:10:12 +0000 (01:10 +0000)
committerAdi Masputra <adi.masputra@sun.com>
Fri, 8 Oct 1999 01:10:12 +0000 (01:10 +0000)
not compiling with PRIOQ

modules/ppp.c

index 22c3b3aebc8128ba5ba8a49eb3793574ddfdde53..0ed435b9904404a888415698076fd640b14ea70f 100644 (file)
@@ -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 $
  */
 
 /*
  * 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