summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-09-22 11:24:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:00 -0500
commit930c32472fca7aeeffdf3406ac4114a3a99000f5 (patch)
tree04af5eaa00854ab7d59de0dc8c33cfb019a960bb /source4
parentb6d3ba9672642dac9e88e9382b0259d759e48734 (diff)
downloadsamba-930c32472fca7aeeffdf3406ac4114a3a99000f5.tar.gz
samba-930c32472fca7aeeffdf3406ac4114a3a99000f5.tar.bz2
samba-930c32472fca7aeeffdf3406ac4114a3a99000f5.zip
r2510: Make C++ compilers happy, use ifdef instead of if
(This used to be commit 7c31998da148cca53e798e3d89b9b754de2e64ac)
Diffstat (limited to 'source4')
-rw-r--r--source4/include/includes.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/include/includes.h b/source4/include/includes.h
index bf566a01d6..a5fd620049 100644
--- a/source4/include/includes.h
+++ b/source4/include/includes.h
@@ -374,25 +374,25 @@
#endif
#endif
-#if HAVE_KRB5_H
+#ifdef HAVE_KRB5_H
#include <krb5.h>
#else
#undef HAVE_KRB5
#endif
-#if HAVE_GSSAPI_H
+#ifdef HAVE_GSSAPI_H
#include <gssapi.h>
#endif
-#if HAVE_GSSAPI_GSSAPI_H
+#ifdef HAVE_GSSAPI_GSSAPI_H
#include <gssapi/gssapi.h>
#endif
-#if HAVE_GSSAPI_GSSAPI_GENERIC_H
+#ifdef HAVE_GSSAPI_GSSAPI_GENERIC_H
#include <gssapi/gssapi_generic.h>
#endif
-#if HAVE_COM_ERR_H
+#ifdef HAVE_COM_ERR_H
#include <com_err.h>
#endif