summaryrefslogtreecommitdiff
path: root/plugin/include/npapi.h
diff options
context:
space:
mode:
authorRoland Mainz <roland.mainz@nrubsig.org>2005-01-28 00:48:56 +0000
committerRoland Mainz <roland.mainz@nrubsig.org>2005-01-28 00:48:56 +0000
commit55c0793996d3eac35f541a354ea82de46c61b736 (patch)
tree4f705cd001aa1231b47a0671fc76ab013847fbba /plugin/include/npapi.h
parent61664a612651ff0f07dbd1e006de2d8829c70c93 (diff)
(https://bugs.freedesktop.org/attachment.cgi?id=1765): Fix build bustage on AIX. Patch by Dan McNichol <mcnichol@austin.ibm.com>.
Diffstat (limited to 'plugin/include/npapi.h')
-rw-r--r--plugin/include/npapi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/include/npapi.h b/plugin/include/npapi.h
index a45b264..00be015 100644
--- a/plugin/include/npapi.h
+++ b/plugin/include/npapi.h
@@ -40,12 +40,15 @@ typedef unsigned short uint16;
#ifndef _UINT32
typedef unsigned int uint32;
#endif
+
+#if !(defined(_AIX) && defined(_H_INTTYPES) && defined(_ALL_SOURCE))
#ifndef _INT16
typedef short int16;
#endif
#ifndef _INT32
typedef int int32;
#endif
+#endif
#ifndef FALSE
#define FALSE (0)