eina: add includes for getpid() to work on MacOSX

Without this I get errors from the clang compiler used on Travis for some OSX
builds:
../src/lib/eina/eina_inline_lock_posix.x:845:27: error: use of undeclared identifier 'getpid'
This commit is contained in:
Stefan Schmidt 2016-08-08 16:02:39 +02:00
parent 3eae9ff74f
commit 72b88e51f4
1 changed files with 3 additions and 0 deletions

View File

@ -49,6 +49,9 @@
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
#ifdef EINA_HAVE_DEBUG_THREADS
#include <assert.h>
#include <execinfo.h>