summaryrefslogtreecommitdiff
path: root/nslcd/nslcd.c
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2012-05-09 20:16:36 +0000
committerArthur de Jong <arthur@arthurdejong.org>2012-05-09 20:16:36 +0000
commitddde9ba4a0d28452aeb5bf6e76b5e71f6b417701 (patch)
treebb53ebcf8126d4611fd9f6aab02f35b97a1934ca /nslcd/nslcd.c
parent5620ad1de39b381cb8a64b1e2b0d8d3e28633e68 (diff)
provide a compatibility definition of SUN_LEN() for systems that lack it
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1686 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nslcd/nslcd.c')
-rw-r--r--nslcd/nslcd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nslcd/nslcd.c b/nslcd/nslcd.c
index cf6c138..b92ea12 100644
--- a/nslcd/nslcd.c
+++ b/nslcd/nslcd.c
@@ -63,6 +63,7 @@
#include "common.h"
#include "compat/attrs.h"
#include "compat/getpeercred.h"
+#include "compat/socket.h"
/* buffer sizes for I/O */
#define READBUFFER_MINSIZE 32