]> AND Public Git Repository - simgrid.git/blobdiff - src/xbt/mmalloc/mmorecore.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
use #if instead if #ifdef for the things in the public config header
[simgrid.git] / src / xbt / mmalloc / mmorecore.c
index 4a9cbb55e3626dda922980e4ae586936dcb423a8..e78ba90c540e5567d7cff489229ca37cba257947 100644 (file)
@@ -10,6 +10,7 @@
 
    Contributed by Fred Fish at Cygnus Support.   fnf@cygnus.com */
 
+#include "src/internal_config.h"
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>             /* Prototypes for lseek */
 #endif
@@ -17,6 +18,7 @@
 #include <fcntl.h>
 #include <sys/mman.h>
 #include <sys/wait.h>
+#include <errno.h>
 
 #include "mmprivate.h"