From 92e8c5c41800c30b9b7e1ccad5136c72978a2fe6 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Thu, 3 Jul 2014 21:28:40 +0530 Subject: [PATCH] Fix pthreadP.h include failure in the right way All other uses include nptl/pthreadP.h, so go that way instead of the extra -I flag. --- glibc-rtkaio.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glibc-rtkaio.patch b/glibc-rtkaio.patch index e6739a4..74e1679 100644 --- a/glibc-rtkaio.patch +++ b/glibc-rtkaio.patch @@ -544,7 +544,7 @@ diff -pruN glibc-2.17-931-g30bbc0c/rtkaio/Makefile glibc-2.17-931-g30bbc0c.new/r + +LDFLAGS-rtkaio.so = -Wl,-soname=lib$(libprefix)rt.so$(librt.so-version) \ + -Wl,--enable-new-dtags,-z,nodelete -+CPPFLAGS-librtkaio += -DIS_IN_librt=1 -I$(..)rt -I$(..)nptl ++CPPFLAGS-librtkaio += -DIS_IN_librt=1 -I$(..)rt + +rpath-dirs := $(patsubst rt,rtkaio,$(rpath-dirs)) + @@ -2261,7 +2261,7 @@ diff -pruN glibc-2.17-931-g30bbc0c/rtkaio/sysdeps/unix/sysv/linux/kaio_misc.h gl + correct aio_suspend and lio_listio implementations. */ + +#include -+#include ++#include +#include + +# define DONT_NEED_AIO_MISC_COND 1