]> git.ozlabs.org Git - ppp.git/blobdiff - modules/bsd-comp.c
OSF/1 machines are little-endian
[ppp.git] / modules / bsd-comp.c
index 7ae89fde2f41d817a7eebefbbdce77964ca1e87d..96cf1fec8441cbba028076b0252b15ac0aca12ae 100644 (file)
@@ -41,7 +41,7 @@
  * This version is for use with STREAMS under SunOS 4.x,
  * DEC Alpha OSF/1, AIX 4.x, and SVR4 systems including Solaris 2.
  *
- * $Id: bsd-comp.c,v 1.13 1995/05/29 06:34:33 paulus Exp $
+ * $Id: bsd-comp.c,v 1.15 1995/07/11 06:38:15 paulus Exp $
  */
 
 #ifdef __aix4__
@@ -68,6 +68,7 @@
 #endif
 
 #ifdef __osf__
+#include <kern/kalloc.h>
 #ifdef FIRST
 #undef FIRST
 #undef LAST
@@ -75,9 +76,9 @@
 #ifdef FREE
 #undef FREE
 #endif
-#include <kern/kalloc.h>
 #define ALLOCATE(n)    kalloc((n))
 #define FREE(p, n)     kfree((p), (n))
+#define BSD_LITTLE_ENDIAN
 #endif
 
 #ifdef __aix4__