aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/anyauthput.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-12-05 00:37:57 +0100
committerYang Tse <yangsita@gmail.com>2012-12-05 00:37:57 +0100
commit23f8dca6fb91329fe78bb5a00527286692d2a357 (patch)
tree7c4e5b4fade05cfd3bad672bcafcdff0890a80d6 /docs/examples/anyauthput.c
parentb908376bef462644e204b50f7a8c3df5871883bf (diff)
examples: fix compilation issues
Diffstat (limited to 'docs/examples/anyauthput.c')
-rw-r--r--docs/examples/anyauthput.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/examples/anyauthput.c b/docs/examples/anyauthput.c
index 5dac0e779..54e5f1aff 100644
--- a/docs/examples/anyauthput.c
+++ b/docs/examples/anyauthput.c
@@ -27,7 +27,11 @@
# ifdef __VMS
typedef int intptr_t;
# endif
-# include <stdint.h>
+# if defined(_AIX) || defined(__sgi) || defined(__osf)
+ typedef long intptr_t;
+# else
+# include <stdint.h>
+# endif
# include <unistd.h>
#endif
#include <sys/types.h>