summaryrefslogtreecommitdiff
path: root/libc/debian/patches/libc-stropts.patch
blob: 7af45eb3e0f00d6ffc522104a248473c1ece59ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: stropts.h redefines a lot of things
which breaks libc build with our new default
options (like _XOPEN_SOURCE=600)
Index: libc/usr/src/lib/libc/port/threads/scalls.c
===================================================================
--- libc.orig/usr/src/lib/libc/port/threads/scalls.c
+++ libc/usr/src/lib/libc/port/threads/scalls.c
@@ -32,9 +32,9 @@
 #include "thr_uberdata.h"
 #include <stdarg.h>
 #include <poll.h>
-#include <stropts.h>
 #include <dlfcn.h>
 #include <wait.h>
+#include <sys/stropts.h>
 #include <sys/socket.h>
 #include <sys/uio.h>
 #include <sys/file.h>