X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=opt%2Fpthreads%2Fmtx_init.c;h=20615671500d6880cea0f3e7084a7dce77ffaa3f;hp=90c67e62109b0549b2a5f1ee5000c367e66d23ad;hb=da0f3f353d417fed71f358a48d5d5394145e460d;hpb=a3b310f13d9001554fe24f3eebab8c0bebac72ca diff --git a/opt/pthreads/mtx_init.c b/opt/pthreads/mtx_init.c index 90c67e6..2061567 100644 --- a/opt/pthreads/mtx_init.c +++ b/opt/pthreads/mtx_init.c @@ -1,4 +1,5 @@ #ifndef REGTEST +#define _POSIX_C_SOURCE 2008098L #include #include @@ -34,7 +35,7 @@ int mtx_init(mtx_t *mtx, int type) #endif #ifdef TEST -#include <_PDCLIB_test.h> +#include "_PDCLIB_test.h" int main( void ) {