genode/repos/libports/src/lib/libc/patches/res_send_c.patch
2014-05-27 11:14:42 +02:00

33 lines
703 B
Diff

+++ src/lib/libc/lib/libc/include/port_after.h
@@ -4,7 +4,7 @@
#define _PORT_AFTER_H_
#define HAVE_SA_LEN 1
-#define HAS_INET6_STRUCTS 1
+//#define HAS_INET6_STRUCTS 1
#define HAVE_SIN6_SCOPE_ID 1
#define HAVE_TIME_R 1
+++ src/lib/libc/lib/libc/include/port_before.h
@@ -4,8 +4,8 @@
#define _PORT_BEFORE_H_
#define _LIBC 1
-#define DO_PTHREADS 1
-#define USE_KQUEUE 1
+//#define DO_PTHREADS 1
+//#define USE_KQUEUE 1
#define ISC_SOCKLEN_T socklen_t
#define ISC_FORMAT_PRINTF(fmt, args) \
+++ src/lib/libc/lib/libc/resolv/res_send.c
@@ -78,7 +78,7 @@
#include "port_before.h"
#ifndef USE_KQUEUE
-#include "fd_setsize.h"
+//#include "fd_setsize.h"
#endif
#include "namespace.h"