diff options
author | Patrick Monnerat <Patrick.Monnerat@datasphere.ch> | 2007-08-23 18:46:45 +0000 |
---|---|---|
committer | Patrick Monnerat <Patrick.Monnerat@datasphere.ch> | 2007-08-23 18:46:45 +0000 |
commit | bc0adcef1f9baa924c8bf88ccd450740e2dac880 (patch) | |
tree | 7075c5019c1c8e6e9f4dbcb428427c19d9e4ebef | |
parent | 7ffae92daf026aec00afd77ddfa069a20e2acda3 (diff) |
Make ldap.h, gssapi.h and qsossl.h inclusions conditional.
-rw-r--r-- | packages/OS400/os400sys.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/packages/OS400/os400sys.c b/packages/OS400/os400sys.c index 7464e0fb1..3eb0b09cc 100644 --- a/packages/OS400/os400sys.c +++ b/packages/OS400/os400sys.c @@ -24,6 +24,8 @@ /* OS/400 additional support. */ +#include "config-os400.h" /* Not setup.h: we only need some defines. */ + #include <sys/types.h> #include <sys/socket.h> @@ -33,14 +35,22 @@ #include <netdb.h> #include <qadrt.h> #include <errno.h> + +#ifdef USE_QSOSSL #include <qsossl.h> +#endif + +#ifdef HAVE_GSSAPI #include <gssapi.h> +#endif + +#ifndef CURL_DISABLE_LDAP #include <ldap.h> +#endif #include <netinet/in.h> #include <arpa/inet.h> -#include "config-os400.h" /* Not config.h: need only some defines. */ #include "os400sys.h" |