diff options
author | Marcus Boerger <helly@php.net> | 2003-10-21 07:36:43 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2003-10-21 07:36:43 +0000 |
commit | 2c454d7a1f8435c63299e2b43efb69c5e8927c18 (patch) | |
tree | 6652c6b71a8fbab58d199ee687039680a498a471 /main | |
parent | 91099f3f4f3c575fc7ffb98194e7d276ed8cc2c3 (diff) | |
download | php-git-2c454d7a1f8435c63299e2b43efb69c5e8927c18.tar.gz |
Bugfix #25930 Can't compile snprintf.c
Diffstat (limited to 'main')
-rw-r--r-- | main/snprintf.c | 3 | ||||
-rw-r--r-- | main/spprintf.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/main/snprintf.c b/main/snprintf.c index 7fd2ff5a5b..6adf72c8a9 100644 --- a/main/snprintf.c +++ b/main/snprintf.c @@ -83,6 +83,9 @@ #include <string.h> #include <stdlib.h> #include <math.h> +#ifdef HAVE_INTTYPES_H +#include <inttypes.h> +#endif #define FALSE 0 #define TRUE 1 diff --git a/main/spprintf.c b/main/spprintf.c index 182918bbcf..abd041f799 100644 --- a/main/spprintf.c +++ b/main/spprintf.c @@ -87,6 +87,9 @@ #include <string.h> #include <stdlib.h> #include <math.h> +#ifdef HAVE_INTTYPES_H +#include <inttypes.h> +#endif #include "snprintf.h" |