diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/lock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/lock.h b/include/asterisk/lock.h index 8525e18c5..471c938f2 100644 --- a/include/asterisk/lock.h +++ b/include/asterisk/lock.h @@ -49,6 +49,7 @@ #include <netdb.h> #include <time.h> #include <sys/param.h> +#include <unistd.h> #ifndef HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK #include "asterisk/time.h" @@ -104,7 +105,6 @@ #include <errno.h> #include <string.h> #include <stdio.h> -#include <unistd.h> #define AST_MUTEX_INIT_VALUE { PTHREAD_MUTEX_INIT_VALUE, 1, { NULL }, { 0 }, 0, { NULL }, { 0 }, PTHREAD_MUTEX_INIT_VALUE } #define AST_MUTEX_INIT_VALUE_NOTRACKING \ |