avr32: use 4.4.x, serial is broken in 4.9.x
[openadk.git] / package / socat / patches / patch-xio-tun_c
blob2ad23eb21516bb721210973a15b40bcdc91b525d
1 --- socat-1.7.2.2.orig/xio-tun.c        2011-12-06 08:45:03.000000000 +0100
2 +++ socat-1.7.2.2/xio-tun.c     2013-12-25 15:51:46.000000000 +0100
3 @@ -14,6 +14,12 @@
4  
5  #include "xio-tun.h"
6  
7 +#if !defined(__GLIBC__)
8 +#define IFF_TUN                0x0001
9 +#define IFF_TAP                0x0002
10 +#define IFF_NO_PI      0x1000
11 +#define TUNSETIFF     _IOW('T', 202, int)
12 +#endif
14  static int xioopen_tun(int argc, const char *argv[], struct opt *opts, int xioflags, xiofile_t *fd, unsigned groups, int dummy1, int dummy2, int dummy3);