diff options
author | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2009-06-04 09:41:05 +1000 |
---|---|---|
committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2009-06-04 09:41:05 +1000 |
commit | 85d67197fe54f3a144da79fd32e1f3121ec68a65 (patch) | |
tree | ffb5b23e3494a2182848bff833beb1bd07f33b7e /ctdb/utils/ping_pong | |
parent | e2810c0cb42d954697b2de63da60a45b4d4d889e (diff) | |
download | samba-85d67197fe54f3a144da79fd32e1f3121ec68a65.tar.gz samba-85d67197fe54f3a144da79fd32e1f3121ec68a65.tar.xz samba-85d67197fe54f3a144da79fd32e1f3121ec68a65.zip |
From William Jojo <w.jojo[AT]hvcc.edu>
AIX dont have getopt.h by default.
Dont try including this file when building on AIX
(This used to be ctdb commit 06b33a826e71e1dd2f9e02ad614be55535d42045)
Diffstat (limited to 'ctdb/utils/ping_pong')
-rw-r--r-- | ctdb/utils/ping_pong/ping_pong.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ctdb/utils/ping_pong/ping_pong.c b/ctdb/utils/ping_pong/ping_pong.c index 27ff0577ac..6061ee7a8f 100644 --- a/ctdb/utils/ping_pong/ping_pong.c +++ b/ctdb/utils/ping_pong/ping_pong.c @@ -37,7 +37,9 @@ #include <string.h> #include <unistd.h> #include <fcntl.h> +#ifndef _AIX #include <getopt.h> +#endif #include <sys/mman.h> static struct timeval tp1,tp2; |