summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-06-30 00:25:18 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-06-30 00:25:18 +0000
commitf3312b30464b321754d9d5e89c05b4bf504cca39 (patch)
tree90e560084cdad99f5579f4655559e41f8ee58837
parent8040bdb2b85c2f70671fba4e905dd414b403b7f0 (diff)
limits.h rather than sys/param.h
-rw-r--r--lib/libutil/imsg-buffer.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libutil/imsg-buffer.c b/lib/libutil/imsg-buffer.c
index 730959f8c67..65413c08e1d 100644
--- a/lib/libutil/imsg-buffer.c
+++ b/lib/libutil/imsg-buffer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: imsg-buffer.c,v 1.3 2013/11/13 20:40:24 benno Exp $ */
+/* $OpenBSD: imsg-buffer.c,v 1.4 2014/06/30 00:25:17 deraadt Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -16,11 +16,12 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/param.h>
+#include <sys/types.h>
#include <sys/queue.h>
#include <sys/socket.h>
#include <sys/uio.h>
+#include <limits.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>