From 6d6783d9538acaab2abd45e9f210a30bf62aee36 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 29 Dec 2008 07:41:01 -0500 Subject: [PATCH 5/9] linux/*: pull in other needed headers for userspace mondo patch Signed-off-by: Mike Frysinger --- include/linux/atalk.h | 1 + include/linux/atm_zatm.h | 1 + include/linux/cm4000_cs.h | 1 + include/linux/dn.h | 1 + include/linux/elfcore.h | 1 - include/linux/ext2_fs.h | 1 + include/linux/hdlc/ioctl.h | 1 + include/linux/if_ppp.h | 2 ++ include/linux/if_pppol2tp.h | 3 --- include/linux/if_tunnel.h | 5 ++--- include/linux/ipv6_route.h | 1 + include/linux/irda.h | 1 + include/linux/isdn_divertif.h | 1 + include/linux/llc.h | 4 ++++ include/linux/netrom.h | 2 ++ include/linux/nfsd/syscall.h | 1 + include/linux/romfs_fs.h | 2 ++ include/linux/rose.h | 3 +++ include/linux/scc.h | 1 + include/linux/synclink.h | 1 + include/linux/times.h | 1 + include/linux/un.h | 2 ++ include/linux/x25.h | 1 + 23 files changed, 31 insertions(+), 7 deletions(-) diff --git a/include/linux/atalk.h b/include/linux/atalk.h index d34c187..a2ce5e7 100644 --- a/include/linux/atalk.h +++ b/include/linux/atalk.h @@ -3,6 +3,7 @@ #include #include +#include /* * AppleTalk networking structures diff --git a/include/linux/atm_zatm.h b/include/linux/atm_zatm.h index 10f0fa2..ca03fef 100644 --- a/include/linux/atm_zatm.h +++ b/include/linux/atm_zatm.h @@ -12,6 +12,7 @@ * sys/types.h for struct timeval */ +#include #include #include diff --git a/include/linux/cm4000_cs.h b/include/linux/cm4000_cs.h index 72bfefd..b179b68 100644 --- a/include/linux/cm4000_cs.h +++ b/include/linux/cm4000_cs.h @@ -2,6 +2,7 @@ #define _CM4000_H_ #include +#include #define MAX_ATR 33 diff --git a/include/linux/dn.h b/include/linux/dn.h index 9c50445..dc9f005 100644 --- a/include/linux/dn.h +++ b/include/linux/dn.h @@ -1,6 +1,7 @@ #ifndef _LINUX_DN_H #define _LINUX_DN_H +#include #include /* diff --git a/include/linux/elfcore.h b/include/linux/elfcore.h index 00d6a68..69b6cfd 100644 --- a/include/linux/elfcore.h +++ b/include/linux/elfcore.h @@ -24,7 +24,6 @@ struct elf_siginfo typedef elf_greg_t greg_t; typedef elf_gregset_t gregset_t; typedef elf_fpregset_t fpregset_t; -typedef elf_fpxregset_t fpxregset_t; #define NGREG ELF_NGREG #endif diff --git a/include/linux/ext2_fs.h b/include/linux/ext2_fs.h index 2dfa707..53792bf 100644 --- a/include/linux/ext2_fs.h +++ b/include/linux/ext2_fs.h @@ -18,6 +18,7 @@ #include #include +#include /* * The second extended filesystem constants/structures diff --git a/include/linux/hdlc/ioctl.h b/include/linux/hdlc/ioctl.h index 5839723..79c4ef8 100644 --- a/include/linux/hdlc/ioctl.h +++ b/include/linux/hdlc/ioctl.h @@ -1,6 +1,7 @@ #ifndef __HDLC_IOCTL_H__ #define __HDLC_IOCTL_H__ +#include #define GENERIC_HDLC_VERSION 4 /* For synchronization with sethdlc utility */ diff --git a/include/linux/if_ppp.h b/include/linux/if_ppp.h index c9ad383..22ebbc1 100644 --- a/include/linux/if_ppp.h +++ b/include/linux/if_ppp.h @@ -35,6 +35,8 @@ #include #include +#include +#include /* * Packet sizes diff --git a/include/linux/if_pppol2tp.h b/include/linux/if_pppol2tp.h index c58baea..249cd3e 100644 --- a/include/linux/if_pppol2tp.h +++ b/include/linux/if_pppol2tp.h @@ -16,10 +16,7 @@ #define __LINUX_IF_PPPOL2TP_H #include - -#ifdef __KERNEL__ #include -#endif /* Structure used to connect() the socket to a particular tunnel UDP * socket. diff --git a/include/linux/if_tunnel.h b/include/linux/if_tunnel.h index 1822d63..55ce8a5 100644 --- a/include/linux/if_tunnel.h +++ b/include/linux/if_tunnel.h @@ -2,11 +2,10 @@ #define _IF_TUNNEL_H_ #include - -#ifdef __KERNEL__ +#include +#include #include #include -#endif #define SIOCGETTUNNEL (SIOCDEVPRIVATE + 0) #define SIOCADDTUNNEL (SIOCDEVPRIVATE + 1) diff --git a/include/linux/ipv6_route.h b/include/linux/ipv6_route.h index 1e7d8af..bee1e83 100644 --- a/include/linux/ipv6_route.h +++ b/include/linux/ipv6_route.h @@ -14,6 +14,7 @@ #define _LINUX_IPV6_ROUTE_H #include +#include #define RTF_DEFAULT 0x00010000 /* default - learned via ND */ #define RTF_ALLONLINK 0x00020000 /* (deprecated and will be removed) diff --git a/include/linux/irda.h b/include/linux/irda.h index 00bdad0..6ca2cf6 100644 --- a/include/linux/irda.h +++ b/include/linux/irda.h @@ -26,6 +26,7 @@ #define KERNEL_IRDA_H #include +#include /* Please do *not* add any #include in this file, this file is * included as-is in user space. diff --git a/include/linux/isdn_divertif.h b/include/linux/isdn_divertif.h index 07821ca..363ab57 100644 --- a/include/linux/isdn_divertif.h +++ b/include/linux/isdn_divertif.h @@ -10,6 +10,7 @@ * */ +#include /***********************************************************/ /* magic value is also used to control version information */ diff --git a/include/linux/llc.h b/include/linux/llc.h index 7733585..64ac7ed 100644 --- a/include/linux/llc.h +++ b/include/linux/llc.h @@ -12,6 +12,10 @@ * * See the GNU General Public License for more details. */ + +#include +#include + #define __LLC_SOCK_SIZE__ 16 /* sizeof(sockaddr_llc), word align. */ struct sockaddr_llc { sa_family_t sllc_family; /* AF_LLC */ diff --git a/include/linux/netrom.h b/include/linux/netrom.h index 6939b32..af7313c 100644 --- a/include/linux/netrom.h +++ b/include/linux/netrom.h @@ -7,6 +7,8 @@ #ifndef NETROM_KERNEL_H #define NETROM_KERNEL_H +#include + #define NETROM_MTU 236 #define NETROM_T1 1 diff --git a/include/linux/nfsd/syscall.h b/include/linux/nfsd/syscall.h index 812bc1e..10c5cd2 100644 --- a/include/linux/nfsd/syscall.h +++ b/include/linux/nfsd/syscall.h @@ -10,6 +10,7 @@ #define NFSD_SYSCALL_H #include +#include #include /* diff --git a/include/linux/romfs_fs.h b/include/linux/romfs_fs.h index c490fbc..2a0269a 100644 --- a/include/linux/romfs_fs.h +++ b/include/linux/romfs_fs.h @@ -1,6 +1,8 @@ #ifndef __LINUX_ROMFS_FS_H #define __LINUX_ROMFS_FS_H +#include + /* The basic structures of the romfs filesystem */ #define ROMBSIZE BLOCK_SIZE diff --git a/include/linux/rose.h b/include/linux/rose.h index c7b4b18..5bcbba1 100644 --- a/include/linux/rose.h +++ b/include/linux/rose.h @@ -7,6 +7,9 @@ #ifndef ROSE_KERNEL_H #define ROSE_KERNEL_H +#include +#include + #define ROSE_MTU 251 #define ROSE_MAX_DIGIS 6 diff --git a/include/linux/scc.h b/include/linux/scc.h index 3495bd9..d5916e5 100644 --- a/include/linux/scc.h +++ b/include/linux/scc.h @@ -3,6 +3,7 @@ #ifndef _SCC_H #define _SCC_H +#include /* selection of hardware types */ diff --git a/include/linux/synclink.h b/include/linux/synclink.h index 0ff2779..a970311 100644 --- a/include/linux/synclink.h +++ b/include/linux/synclink.h @@ -11,6 +11,7 @@ #ifndef _SYNCLINK_H_ #define _SYNCLINK_H_ + #define SYNCLINK_H_VERSION 3.6 #include diff --git a/include/linux/times.h b/include/linux/times.h index 87b6261..a449fd0 100644 --- a/include/linux/times.h +++ b/include/linux/times.h @@ -2,6 +2,7 @@ #define _LINUX_TIMES_H #include +#include struct tms { __kernel_clock_t tms_utime; diff --git a/include/linux/un.h b/include/linux/un.h index 45561c5..77371f5 100644 --- a/include/linux/un.h +++ b/include/linux/un.h @@ -1,6 +1,8 @@ #ifndef _LINUX_UN_H #define _LINUX_UN_H +#include + #define UNIX_PATH_MAX 108 struct sockaddr_un { diff --git a/include/linux/x25.h b/include/linux/x25.h index 6450a7f..eaceb8c 100644 --- a/include/linux/x25.h +++ b/include/linux/x25.h @@ -12,6 +12,7 @@ #define X25_KERNEL_H #include +#include #define SIOCX25GSUBSCRIP (SIOCPROTOPRIVATE + 0) #define SIOCX25SSUBSCRIP (SIOCPROTOPRIVATE + 1) -- 1.7.0