aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/anyauthput.c
diff options
context:
space:
mode:
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>