From: Martin Quinson Date: Fri, 26 Feb 2016 01:56:47 +0000 (+0100) Subject: woops, all machines but mine need stdio.h here X-Git-Tag: v3_13~668 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/220e6263b487e4133541fb9b9c731fb18e780880 woops, all machines but mine need stdio.h here --- diff --git a/src/xbt/snprintf.c b/src/xbt/snprintf.c index 5053d29e87..22a3aa894c 100644 --- a/src/xbt/snprintf.c +++ b/src/xbt/snprintf.c @@ -51,6 +51,7 @@ #include "xbt/sysdep.h" /* xbt_abort() */ #include "simgrid_config.h" /* Do we need vasprintf? */ +#include #if !defined(HAVE_VASPRINTF) #include /* vsnprintf */ diff --git a/tools/cmake/src/internal_config.h.in b/tools/cmake/src/internal_config.h.in index 25d4c5ef86..7b0a7711c9 100644 --- a/tools/cmake/src/internal_config.h.in +++ b/tools/cmake/src/internal_config.h.in @@ -130,9 +130,6 @@ /* Define to 1 if you have the header file. */ #cmakedefine HAVE_SIGNAL_H @HAVE_SIGNAL_H@ -/* Define to 1 if you have the header file. */ -#cmakedefine HAVE_STDINT_H @HAVE_STDINT_H@ - /* Define to 1 if you have the `sysconf' function. */ #cmakedefine HAVE_SYSCONF @HAVE_SYSCONF@ @@ -160,29 +157,7 @@ /* Define to 1 if you have the header file. */ #cmakedefine HAVE_WINDOWS_H @HAVE_WINDOWS_H@ -/* enable the vasprintf replacement */ -#cmakedefine NEED_VASPRINTF @NEED_VASPRINTF@ - -/* Name of package */ -#cmakedefine PACKAGE @PACKAGE@ - -/* Define to the address where bug reports for this package should be sent. */ -#cmakedefine PACKAGE_BUGREPORT @PACKAGE_BUGREPORT@ - -/* Define to the full name of this package. */ -#cmakedefine PACKAGE_NAME @PACKAGE_NAME@ - -/* Define to the full name and version of this package. */ -#cmakedefine PACKAGE_STRING @PACKAGE_STRING@ - -/* Define to the one symbol short name of this package. */ -#cmakedefine PACKAGE_TARNAME @PACKAGE_TARNAME@ - -/* Define to the home page for this package. */ -#cmakedefine PACKAGE_URL @PACKAGE_URL@ - -/* Define to the version of this package. */ -#cmakedefine PACKAGE_VERSION @PACKAGE_VERSION@ +#cmakedefine HAVE_VASPRINTF @HAVE_VASPRINTF@ /* define for stack growth */ #cmakedefine PTH_STACKGROWTH @PTH_STACKGROWTH@