summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/buffer.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2004-02-19 13:54:59 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2004-02-19 13:54:59 +0000
commitab07350c16c79d16babb36da629198c73a1497b5 (patch)
tree41595ba2bafa7881347f58e3f922b82c7e80a280 /usr.sbin/bgpd/buffer.c
parent66c12e8fef994277c60a99cb9e108d32aea1310b (diff)
Make the code more portable. Add some missing header files and make the use
of the queue(3) makros more portable. OK henning@ some time ago.
Diffstat (limited to 'usr.sbin/bgpd/buffer.c')
-rw-r--r--usr.sbin/bgpd/buffer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/buffer.c b/usr.sbin/bgpd/buffer.c
index 74f9f7915c3..b10618fd437 100644
--- a/usr.sbin/bgpd/buffer.c
+++ b/usr.sbin/bgpd/buffer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: buffer.c,v 1.16 2004/02/17 22:41:40 henning Exp $ */
+/* $OpenBSD: buffer.c,v 1.17 2004/02/19 13:54:58 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -23,6 +23,7 @@
#include <stdlib.h>
#include <err.h>
#include <errno.h>
+#include <limits.h>
#include <string.h>
#include <unistd.h>