python 2.6.7: added missing dependency for bzip2 (without this python-compression...
[openembedded.git] / recipes / wireless-tools / wireless-tools / fixheaders.patch
1 Index: wireless_tools.27/wireless.17.h
2 ===================================================================
3 --- wireless_tools.27.orig/wireless.17.h        2004-08-27 15:04:41.000000000 -0400
4 +++ wireless_tools.27/wireless.17.h     2005-01-19 21:13:25.343064024 -0500
5 @@ -71,9 +71,9 @@
6  
7  /* To minimise problems in user space, I might remove those headers
8   * at some point. Jean II */
9 -#include <linux/types.h>               /* for "caddr_t" et al          */
10 -#include <linux/socket.h>              /* for "struct sockaddr" et al  */
11 -#include <linux/if.h>                  /* for IFNAMSIZ and co... */
12 +#include <asm/types.h>         /* for "caddr_t" et al          */
13 +#include <sys/socket.h>                /* for "struct sockaddr" et al  */
14 +#include <net/if.h>                    /* for IFNAMSIZ and co... */
15  
16  /***************************** VERSION *****************************/
17  /*
18 Index: wireless_tools.27/iwlib.h
19 ===================================================================
20 --- wireless_tools.27.orig/iwlib.h      2004-10-28 20:09:47.000000000 -0400
21 +++ wireless_tools.27/iwlib.h   2005-01-19 21:13:47.438704976 -0500
22 @@ -123,9 +123,9 @@
23  #endif /* LIBC5_HEADERS */
24  
25  /* Those 3 headers were previously included in wireless.h */
26 -#include <linux/types.h>               /* for "caddr_t" et al          */
27 -#include <linux/socket.h>              /* for "struct sockaddr" et al  */
28 -#include <linux/if.h>                  /* for IFNAMSIZ and co... */
29 +#include <asm/types.h>         /* for "caddr_t" et al          */
30 +#include <sys/socket.h>                /* for "struct sockaddr" et al  */
31 +#include <net/if.h>                    /* for IFNAMSIZ and co... */
32  
33  /* Private copy of Wireless extensions */
34  #include <wireless.h>