diff options
| author | Magnus Hagander <magnus@hagander.net> | 2007-07-12 14:36:52 +0000 |
|---|---|---|
| committer | Magnus Hagander <magnus@hagander.net> | 2007-07-12 14:36:52 +0000 |
| commit | 65a513c2490983e1b95710a805e7cb71956120bc (patch) | |
| tree | f782fddac637ac22439e9f0b2898a056058f3bf4 /src/interfaces/libpq/libpq-int.h | |
| parent | 67719940585f36617a15dac16a32744a18711ede (diff) | |
| download | postgresql-65a513c2490983e1b95710a805e7cb71956120bc.tar.gz | |
Support GSSAPI builds where the header is <gssapi.h> and not <gssapi/gssapi.h>,
such as OpenBSD (possibly all Heimdal).
Stefan Kaltenbrunner
Diffstat (limited to 'src/interfaces/libpq/libpq-int.h')
| -rw-r--r-- | src/interfaces/libpq/libpq-int.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/interfaces/libpq/libpq-int.h b/src/interfaces/libpq/libpq-int.h index cbefdd8e0f..b497e1d68d 100644 --- a/src/interfaces/libpq/libpq-int.h +++ b/src/interfaces/libpq/libpq-int.h @@ -12,7 +12,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/interfaces/libpq/libpq-int.h,v 1.122 2007/07/10 13:14:22 mha Exp $ + * $PostgreSQL: pgsql/src/interfaces/libpq/libpq-int.h,v 1.123 2007/07/12 14:36:52 mha Exp $ * *------------------------------------------------------------------------- */ @@ -45,8 +45,12 @@ #include "pqexpbuffer.h" #ifdef ENABLE_GSS +#if defined(HAVE_GSSAPI_H) +#include <gssapi.h> +#else #include <gssapi/gssapi.h> #endif +#endif #ifdef USE_SSL #include <openssl/ssl.h> |
