summaryrefslogtreecommitdiff
path: root/app/cwm/group.c
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2015-01-19 14:54:17 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2015-01-19 14:54:17 +0000
commit0c730e4a673c72964e2d307b136fa9c80c26b2fe (patch)
tree324c818f1d34934863bad4dbc567fbba7132356e /app/cwm/group.c
parent5d5975a6f5c35d84dbfb5d5b769329c81ec2d221 (diff)
Switch to limits.h; replace MAXPATHLEN and MAXHOSTNAMELEN with PATH_MAX
and HOST_NAME_MAX+1, respectively. ok doug@
Diffstat (limited to 'app/cwm/group.c')
-rw-r--r--app/cwm/group.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/cwm/group.c b/app/cwm/group.c
index 87c307d16..a5f485957 100644
--- a/app/cwm/group.c
+++ b/app/cwm/group.c
@@ -16,15 +16,16 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: group.c,v 1.109 2014/10/08 12:48:51 okan Exp $
+ * $OpenBSD: group.c,v 1.110 2015/01/19 14:54:16 okan Exp $
*/
-#include <sys/param.h>
+#include <sys/types.h>
#include <sys/queue.h>
#include <assert.h>
#include <err.h>
#include <errno.h>
+#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>