Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nslcd/nslcd.c
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2008-02-04 23:27:06 +0100
committerArthur de Jong <arthur@arthurdejong.org>2008-02-04 23:27:06 +0100
commit371d82d3472dc700eed1c2a8ac4cd55b5f334926 (patch)
treed2dd7ea4dabc3d4bada2a9864dfd3432b482d37a /nslcd/nslcd.c
parentbc2ccd2da84cd3dcffc3db8a121e30af07818c0e (diff)
actually include the compat header files when needed
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@620 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nslcd/nslcd.c')
-rw-r--r--nslcd/nslcd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/nslcd/nslcd.c b/nslcd/nslcd.c
index 4c2faf8..c3e6312 100644
--- a/nslcd/nslcd.c
+++ b/nslcd/nslcd.c
@@ -47,6 +47,12 @@
#endif /* HAVE_GRP_H */
#include <nss.h>
#include <pthread.h>
+#ifndef HAVE_GETOPT_LONG
+#include "compat/getopt_long.h"
+#endif /* not HAVE_GETOPT_LONG */
+#ifndef HAVE_DAEMON
+#include "compat/daemon.h"
+#endif /* not HAVE_DAEMON */
#include "nslcd.h"
#include "log.h"