Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add a pimple to get the ability to trace the amount of messages per size as histogram...
[simgrid.git] / include / simgrid_config.h.in
index 18e01d0..f82be86 100644 (file)
 
 /* Use that config to declare missing elements */
 #ifdef SIMGRID_NEED_GETLINE
+#include <stdlib.h> /* size_t */
+#include <stdio.h>  /* FILE*  */
 XBT_PUBLIC(long) getline(char **lineptr, size_t * n, FILE * stream);
+#else
+#ifndef _GNU_SOURCE
+       #define _GNU_SOURCE
+#endif
+#include <stdio.h>
 #endif