diff options
Diffstat (limited to 'src/platform/posix/posix_impl.h')
| -rw-r--r-- | src/platform/posix/posix_impl.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/platform/posix/posix_impl.h b/src/platform/posix/posix_impl.h index 2229f17c..316cc3e6 100644 --- a/src/platform/posix/posix_impl.h +++ b/src/platform/posix/posix_impl.h @@ -32,7 +32,7 @@ #define NNG_PLATFORM_POSIX_SOCKADDR #define NNG_PLATFORM_POSIX_UDP -#include "core/defs.h" +#include "../../core/defs.h" #include "posix_config.h" #endif @@ -60,10 +60,7 @@ struct nni_plat_mtx { pthread_mutex_t mtx; }; -#define NNI_MTX_INITIALIZER \ - { \ - PTHREAD_MUTEX_INITIALIZER \ - } +#define NNI_MTX_INITIALIZER { PTHREAD_MUTEX_INITIALIZER } // No static form of CV initialization because of the need to use // attributes to set the clock type. |
