merge from gcc

This commit is contained in:
DJ Delorie
2009-10-19 18:14:24 +00:00
parent b3f5fb3718
commit 9d52f5c21c
2 changed files with 13 additions and 0 deletions

View File

@ -26,8 +26,16 @@
#ifndef PLUGIN_API_H
#define PLUGIN_API_H
#ifdef HAVE_STDINT_H
#include <stdint.h>
#elif defined(HAVE_INTTYPES_H)
#include <inttypes.h>
#endif
#include <sys/types.h>
#if !defined(HAVE_STDINT_H) && !defined(HAVE_INTTYPES_H) && \
!defined(UINT64_MAX) && !defined(uint64_t)
#error can not find uint64_t type
#endif
#ifdef __cplusplus
extern "C"