summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-01-15 23:51:05 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-01-15 23:51:05 +0000
commit56dd4f23c1ab40ac890137f336b5a35c1b89cc4e (patch)
tree167f62de64dc6eb0ad6b00d9c8e108d9b84c5366
parent2fa130e87818d4b36d22fb5d555e19a75698e8da (diff)
do not assume <netmls/mpls.h> will pull in <limits.h> via <sys/param.h>
get <limits.h> directly. ok millert
-rw-r--r--usr.sbin/ldpctl/ldpctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ldpctl/ldpctl.c b/usr.sbin/ldpctl/ldpctl.c
index 135bf962e73..c6e46609f1d 100644
--- a/usr.sbin/ldpctl/ldpctl.c
+++ b/usr.sbin/ldpctl/ldpctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldpctl.c,v 1.16 2013/11/14 20:48:52 deraadt Exp $
+/* $OpenBSD: ldpctl.c,v 1.17 2015/01/15 23:51:04 deraadt Exp $
*
* Copyright (c) 2009 Michele Marchetto <michele@openbsd.org>
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -33,6 +33,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <limits.h>
#include "ldp.h"
#include "ldpd.h"