diff options
author | Yang Tse <yangsita@gmail.com> | 2012-12-05 00:37:57 +0100 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2012-12-05 00:37:57 +0100 |
commit | 23f8dca6fb91329fe78bb5a00527286692d2a357 (patch) | |
tree | 7c4e5b4fade05cfd3bad672bcafcdff0890a80d6 /docs/examples/anyauthput.c | |
parent | b908376bef462644e204b50f7a8c3df5871883bf (diff) |
examples: fix compilation issues
Diffstat (limited to 'docs/examples/anyauthput.c')
-rw-r--r-- | docs/examples/anyauthput.c | 6 |
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> |