Be more careful when including <stdint.h> so compiling on pre-C99 platforms (hello Slowlaris) might actually work.

This commit is contained in:
Erik de Castro Lopo 2009-05-14 19:14:50 +10:00
parent 6d47e69ca8
commit bf0715758c
3 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2009-05-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/common.h src/test_conversions.c
Be more careful when including <stdint.h> so compiling on pre-C99 platforms
(hello Slowlaris) might actually work.
2009-04-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/voc.c

View File

@ -25,12 +25,12 @@
#if HAVE_STDINT_H
#include <stdint.h>
#elif HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#ifndef SNDFILE_H
#include "sndfile.h"
#elif HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#ifdef __cplusplus

View File

@ -20,7 +20,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <stdarg.h>
#include <errno.h>