A kernel guru should evaluate this as there may be a reason why linux/in.h
was changed which I am unaware of.
Cheers,
Mike
*** in.h.org Sat Nov 9 07:42:06 1996
--- in.h Sat Nov 9 07:42:37 1996
***************
*** 115,124 ****
#define INADDR_ALLHOSTS_GROUP 0xe0000001 /* 224.0.0.1 */
#define INADDR_MAX_LOCAL_GROUP 0xe00000ff /* 224.0.0.255 */
- #ifdef __KERNEL__
-
/* <asm/byteorder.h> contains the htonl type stuff.. */
#include <asm/byteorder.h>
/* Some random defines to make it easier in the kernel.. */
#define LOOPBACK(x) (((x) & htonl(0xff000000)) == htonl(0x7f000000))
--- 115,124 ----
#define INADDR_ALLHOSTS_GROUP 0xe0000001 /* 224.0.0.1 */
#define INADDR_MAX_LOCAL_GROUP 0xe00000ff /* 224.0.0.255 */
/* <asm/byteorder.h> contains the htonl type stuff.. */
#include <asm/byteorder.h>
+
+ #ifdef __KERNEL__
/* Some random defines to make it easier in the kernel.. */
#define LOOPBACK(x) (((x) & htonl(0xff000000)) == htonl(0x7f000000))
*** ipc.h.org Sat Nov 9 08:31:25 1996
--- ipc.h Sat Nov 9 08:31:10 1996
***************
*** 2,7 ****
--- 2,8 ----
#define _LINUX_IPC_H
#include <linux/types.h>
+ #include <asm/ipc.h>
#define IPC_PRIVATE ((__kernel_key_t) 0)