Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add missing headers in xbt_os_thread.c
authorGabriel Corona <gabriel.corona@loria.fr>
Tue, 16 Jun 2015 09:46:41 +0000 (11:46 +0200)
committerGabriel Corona <gabriel.corona@loria.fr>
Tue, 16 Jun 2015 09:46:41 +0000 (11:46 +0200)
src/xbt/xbt_os_thread.c

index 50a9a4c..46a0e7e 100644 (file)
@@ -8,6 +8,15 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
+#if defined(WIN32)
+#elif defined(__MACH__)
+#include <stdint.h>
+#include <sys/types.h>
+#include <sys/sysctl.h>
+#else
+#include <unistd.h>
+#endif
+
 #include "internal_config.h"
 #include "xbt/sysdep.h"
 #include "xbt/ex.h"
 #include "internal_config.h"
 #include "xbt/sysdep.h"
 #include "xbt/ex.h"