stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=72b88e51f424ccae1842323b23d7adaef81a7143

commit 72b88e51f424ccae1842323b23d7adaef81a7143
Author: Stefan Schmidt <[email protected]>
Date:   Mon Aug 8 16:02:39 2016 +0200

    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'
---
 src/lib/eina/eina_inline_lock_posix.x | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/lib/eina/eina_inline_lock_posix.x 
b/src/lib/eina/eina_inline_lock_posix.x
index 55aad9d..8af5158 100644
--- a/src/lib/eina/eina_inline_lock_posix.x
+++ b/src/lib/eina/eina_inline_lock_posix.x
@@ -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>

-- 


Reply via email to