Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nslcd-common.h
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2008-01-27 11:16:07 +0100
committerArthur de Jong <arthur@arthurdejong.org>2008-01-27 11:16:07 +0100
commitdd6518dd55f53cf0058a4992a3856a7527a74299 (patch)
tree4cef30a3863a75cb00e4631740df49cb78901de8 /nslcd-common.h
parent132f701f415aedfefd3a54b3c6d8f7d697cd36c3 (diff)
when including stdint.h check if we actually have it
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@571 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nslcd-common.h')
-rw-r--r--nslcd-common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/nslcd-common.h b/nslcd-common.h
index 9cc101a..7ada44e 100644
--- a/nslcd-common.h
+++ b/nslcd-common.h
@@ -39,7 +39,9 @@
#ifdef DEBUG_PROT_DUMP
/* define a debugging macro to output detailed logging */
+#ifdef HAVE_STDINT_H
#include <stdint.h>
+#endif /* HAVE_STDINT_H */
static void debug_dump(const void *ptr,size_t size)
{
int i;