FreeBSD fix, seems trivial enough, hopefully won't break Linux.
SVN revision: 11128
This commit is contained in:
parent
3b25865dbb
commit
1093d85d74
|
@ -31,12 +31,16 @@
|
||||||
/* The ISO C99 defines the int16_t and int_32t types. If the compiler got
|
/* The ISO C99 defines the int16_t and int_32t types. If the compiler got
|
||||||
* here, these types are probably undefined.
|
* here, these types are probably undefined.
|
||||||
*/
|
*/
|
||||||
|
# ifdef HAVE_INTTYPES_H
|
||||||
|
#include <inttypes.h>
|
||||||
|
# else
|
||||||
# ifndef HAVE_STDINT_H
|
# ifndef HAVE_STDINT_H
|
||||||
typedef short int int16_t;
|
typedef short int int16_t;
|
||||||
typedef unsigned short int uint16_t;
|
typedef unsigned short int uint16_t;
|
||||||
typedef int int32_t;
|
typedef int int32_t;
|
||||||
typedef unsigned int uint32_t;
|
typedef unsigned int uint32_t;
|
||||||
# endif
|
# endif
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* calling convention for all interface functions and callback functions */
|
/* calling convention for all interface functions and callback functions */
|
||||||
|
|
Loading…
Reference in New Issue