lldb: Add package (#2341)
[termux-packages] / packages / libevent / evutil.c.patch
1 diff -u -r ../libevent-release-2.1.8-stable/evutil.c ./evutil.c
2 --- ../libevent-release-2.1.8-stable/evutil.c 2017-01-26 00:37:15.000000000 +0100
3 +++ ./evutil.c 2017-07-07 01:04:14.746540880 +0200
4 @@ -47,6 +47,7 @@
5 #include <sys/socket.h>
6 #endif
7 #ifdef EVENT__HAVE_UNISTD_H
8 +#define __USE_GNU 1 /* For pipe2(). */
9 #include <unistd.h>
10 #endif
11 #ifdef EVENT__HAVE_FCNTL_H