summaryrefslogtreecommitdiff
path: root/common
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 /common
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 'common')
-rw-r--r--common/nslcd-prot.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/nslcd-prot.c b/common/nslcd-prot.c
index 61708d4..c0ecc99 100644
--- a/common/nslcd-prot.c
+++ b/common/nslcd-prot.c
@@ -2,7 +2,7 @@
nslcd-prot.c - common functions for NSLCD lookups
Copyright (C) 2006 West Consulting
- Copyright (C) 2006, 2007, 2008 Arthur de Jong
+ Copyright (C) 2006, 2007, 2008, 2009, 2010, 2012 Arthur de Jong
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -36,6 +36,7 @@
#include "nslcd.h"
#include "nslcd-prot.h"
+#include "compat/socket.h"
/* buffer sizes for I/O */
#define READBUFFER_MINSIZE 1024