Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nslcd/cfg.c
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2007-12-09 16:23:26 +0100
committerArthur de Jong <arthur@arthurdejong.org>2007-12-09 16:23:26 +0100
commit3e46366fd3b63b8551ae66187fa0d75c74fa29f8 (patch)
tree50d03076a62ebdcd5559ca476fc89b5360d14fee /nslcd/cfg.c
parent534c504364428682deaa2704c3f9ae4cf7f6ab39 (diff)
get rid of some old code and rename ldap-nss to myldap since there is no more NSS-related code in there
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@489 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nslcd/cfg.c')
-rw-r--r--nslcd/cfg.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/nslcd/cfg.c b/nslcd/cfg.c
index 065b12a..29b9a0a 100644
--- a/nslcd/cfg.c
+++ b/nslcd/cfg.c
@@ -25,14 +25,16 @@
#include "config.h"
-#include <string.h>
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <assert.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
-#include <stdlib.h>
#include <errno.h>
+#include <netdb.h>
+#include <sys/socket.h>
#ifdef HAVE_GSSAPI_H
#include <gssapi.h>
#endif /* HAVE_GSSAPI_H */
@@ -41,7 +43,6 @@
#include <gssapi/gssapi_krb5.h>
#endif /* HAVE_GSSAPI_GSSAPI_KRB5_H */
-#include "ldap-nss.h"
#include "common.h"
#include "log.h"
#include "cfg.h"