FreeBSD fix, seems trivial enough, hopefully won't break Linux.

SVN revision: 11128
This commit is contained in:
vacuum 2004-08-02 15:13:26 +00:00 committed by vacuum
parent 3b25865dbb
commit 1093d85d74
1 changed files with 5 additions and 1 deletions

View File

@ -31,11 +31,15 @@
/* The ISO C99 defines the int16_t and int_32t types. If the compiler got
* here, these types are probably undefined.
*/
# ifndef HAVE_STDINT_H
# ifdef HAVE_INTTYPES_H
#include <inttypes.h>
# else
# ifndef HAVE_STDINT_H
typedef short int int16_t;
typedef unsigned short int uint16_t;
typedef int int32_t;
typedef unsigned int uint32_t;
# endif
# endif
#endif