diff options
Diffstat (limited to 'third_party/npapi')
-rw-r--r-- | third_party/npapi/bindings/npapi.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/third_party/npapi/bindings/npapi.h b/third_party/npapi/bindings/npapi.h index f477653..a8f0ac1 100644 --- a/third_party/npapi/bindings/npapi.h +++ b/third_party/npapi/bindings/npapi.h @@ -48,6 +48,26 @@ #ifdef __native_client__ #include <stdint.h> +#include <sys/types.h> +/* typedefs needed for NaCl DEPS update */ +/* TODO: convert npapi_extensions.h to int32_t, etc */ +/* and remove these typedefs */ +#ifndef _INT32 +#define _INT32 +typedef int int32; +#endif +#ifndef _UINT32 +#define _UINT32 +typedef unsigned int uint32; +#endif +#ifndef _INT16 +#define _INT16 +typedef short int16; +#endif +#ifndef _UINT16 +#define _UINT16 +typedef unsigned short uint16; +#endif #else #include "base/basictypes.h" #endif /* __native_client__ */ |