summaryrefslogtreecommitdiff
path: root/libextra
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2005-08-23 16:13:31 +0000
committerSimon Josefsson <simon@josefsson.org>2005-08-23 16:13:31 +0000
commitdbbd315681c519d3c14d11d3c163a4c0ae014efc (patch)
treefa948480ebe84238e19bc0fe67b9c48ddbc38b2c /libextra
parentb0d83c8fc8b4d6258776f68f952c6cc4802ff652 (diff)
downloadgnutls-dbbd315681c519d3c14d11d3c163a4c0ae014efc.tar.gz
Protect config.h #include.
Diffstat (limited to 'libextra')
-rw-r--r--libextra/openpgp/openpgp.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libextra/openpgp/openpgp.h b/libextra/openpgp/openpgp.h
index 60e79ec994..9c13a55d1c 100644
--- a/libextra/openpgp/openpgp.h
+++ b/libextra/openpgp/openpgp.h
@@ -1,7 +1,9 @@
#ifndef OPENPGP_H
# define OPENPGP_H
-#include <config.h>
+#if HAVE_CONFIG_H
+# include <config.h>
+#endif
typedef enum gnutls_openpgp_key_fmt_t {
GNUTLS_OPENPGP_FMT_RAW, GNUTLS_OPENPGP_FMT_BASE64