76c68d19758438b5207af91b9e858f74913864f1
[openwrt/svn-archive/archive.git] / libs / howl / patches / typedefs.patch
1 diff -u10 -r howl-1.0.0/src/lib/howl/Posix/posix_interface.c howl-1.0.0-patched/src/lib/howl/Posix/posix_interface.c
2 --- howl-1.0.0/src/lib/howl/Posix/posix_interface.c 2007-01-03 01:16:03.000000000 -0800
3 +++ howl-1.0.0-patched/src/lib/howl/Posix/posix_interface.c 2007-01-03 00:55:44.000000000 -0800
4 @@ -30,24 +30,24 @@
5 #include <salt/debug.h>
6 #include <salt/interface.h>
7 #include <net/if.h>
8 #include <arpa/inet.h>
9 #include <errno.h>
10 #include <sys/ioctl.h>
11 #include <sys/socket.h>
12 #include <stdio.h>
13
14 #if defined(__linux__)
15 -typedef unsigned long long u64;
16 -typedef __uint32_t u32;
17 -typedef __uint16_t u16;
18 -typedef __uint8_t u8;
19 +typedef unsigned long long __u64;
20 +typedef __uint32_t __u32;
21 +typedef __uint16_t __u16;
22 +typedef __uint8_t __u8;
23 # include <linux/sockios.h>
24 # include <linux/ethtool.h>
25 #endif
26
27 #ifndef SIOCGIFCONF
28 # include <sys/sockio.h>
29 #endif
30
31 #define SW_E_BAD_ARG 23
32