summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2012-03-10 20:41:37 +0000
committerArthur de Jong <arthur@arthurdejong.org>2012-03-10 20:41:37 +0000
commitf584f55587dad7f02478d6b74b113fd5d592176a (patch)
treea1c052ba7f16d72f352f701322e6fb471cc4ce42
parent1c9029c7668fca609d184892f6db67d79c6bbe1c (diff)
add missing include for _POSIX_HOST_NAME_MAX (thanks Mel Flynn)
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1631 ef36b2f9-881f-0410-afb5-c4e39611909c
-rw-r--r--nslcd/common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/nslcd/common.h b/nslcd/common.h
index b9dc6fc..cf137df 100644
--- a/nslcd/common.h
+++ b/nslcd/common.h
@@ -3,7 +3,7 @@
This file is part of the nss-pam-ldapd library.
Copyright (C) 2006 West Consulting
- Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Arthur de Jong
+ Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 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
@@ -25,6 +25,7 @@
#define NSLCD__COMMON_H 1
#include <errno.h>
+#include <limits.h>
#include "nslcd.h"
#include "common/nslcd-prot.h"