diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-03-18 19:03:02 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-03-18 19:04:39 +0100 |
commit | 1f04c9e131d45afaed640c1ede5cdb0bab62ada4 (patch) | |
tree | fa98191075004249d342a6b8cdc28096ba2c8ae6 /pthread | |
parent | 930c63cd54c8db823af29ba6e5a015dc4d5021ca (diff) |
Fix getting types
* pthread/pt-internal.h: Include <bits/types/res_state.h> instead of
defining __need_res_state and including <resolv.h>.
* sysdeps/pthread/semaphore.h [__USE_XOPEN2K]: Include
<bits/types/struct_timespec.h> instead of defining __need_timespec and
including <time.h>.
Diffstat (limited to 'pthread')
-rw-r--r-- | pthread/pt-internal.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pthread/pt-internal.h b/pthread/pt-internal.h index 267a751..3024e64 100644 --- a/pthread/pt-internal.h +++ b/pthread/pt-internal.h @@ -24,8 +24,7 @@ #include <sched.h> #include <signal.h> #include <assert.h> -#define __need_res_state -#include <resolv.h> +#include <bits/types/res_state.h> #include <bits/pt-atomic.h> |