summaryrefslogtreecommitdiffstats
path: root/lib/libevent/evbuffer.c
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2014-10-17 19:16:01 +0000
committerbluhm <bluhm@openbsd.org>2014-10-17 19:16:01 +0000
commitdefc4074ccfc9c1a6ee37be0e276b56046842efa (patch)
tree3fe00d2a6e8afa6e1176df7ccd7ac073e5e1030c /lib/libevent/evbuffer.c
parentAlso remove trailing spaces from the CPU brand string. (diff)
downloadwireguard-openbsd-defc4074ccfc9c1a6ee37be0e276b56046842efa.tar.xz
wireguard-openbsd-defc4074ccfc9c1a6ee37be0e276b56046842efa.zip
Remove #ifdef HAVE_.*_H, just include the header files.
Do not include sys/param.h. OK nicm@
Diffstat (limited to 'lib/libevent/evbuffer.c')
-rw-r--r--lib/libevent/evbuffer.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/libevent/evbuffer.c b/lib/libevent/evbuffer.c
index 9b66a06ab4d..3f32fc8f62d 100644
--- a/lib/libevent/evbuffer.c
+++ b/lib/libevent/evbuffer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: evbuffer.c,v 1.14 2014/10/16 07:38:06 bluhm Exp $ */
+/* $OpenBSD: evbuffer.c,v 1.15 2014/10/17 19:16:01 bluhm Exp $ */
/*
* Copyright (c) 2002-2004 Niels Provos <provos@citi.umich.edu>
@@ -28,18 +28,13 @@
*/
#include <sys/types.h>
-
-#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
-#endif
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#ifdef HAVE_STDARG_H
#include <stdarg.h>
-#endif
#include "evutil.h"
#include "event.h"