From 1f04c9e131d45afaed640c1ede5cdb0bab62ada4 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 18 Mar 2018 19:03:02 +0100 Subject: Fix getting types * pthread/pt-internal.h: Include instead of defining __need_res_state and including . * sysdeps/pthread/semaphore.h [__USE_XOPEN2K]: Include instead of defining __need_timespec and including . --- sysdeps/pthread/semaphore.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sysdeps/pthread') diff --git a/sysdeps/pthread/semaphore.h b/sysdeps/pthread/semaphore.h index c8fdb72..a6f96e3 100644 --- a/sysdeps/pthread/semaphore.h +++ b/sysdeps/pthread/semaphore.h @@ -21,8 +21,7 @@ #include #include #ifdef __USE_XOPEN2K -# define __need_timespec -# include +# include #endif /* Get the definition for struct __semaphore. */ -- cgit v1.2.3