From defc4074ccfc9c1a6ee37be0e276b56046842efa Mon Sep 17 00:00:00 2001 From: bluhm Date: Fri, 17 Oct 2014 19:16:01 +0000 Subject: Remove #ifdef HAVE_.*_H, just include the header files. Do not include sys/param.h. OK nicm@ --- lib/libevent/buffer.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'lib/libevent/buffer.c') diff --git a/lib/libevent/buffer.c b/lib/libevent/buffer.c index e888f59fcee..d84b9b19e8b 100644 --- a/lib/libevent/buffer.c +++ b/lib/libevent/buffer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: buffer.c,v 1.21 2014/10/16 07:38:06 bluhm Exp $ */ +/* $OpenBSD: buffer.c,v 1.22 2014/10/17 19:16:01 bluhm Exp $ */ /* * Copyright (c) 2002, 2003 Niels Provos @@ -33,30 +33,20 @@ #endif #include - -#ifdef HAVE_SYS_TIME_H #include -#endif - -#ifdef HAVE_SYS_IOCTL_H #include -#endif #include #include #include #include #include -#ifdef HAVE_STDARG_H #include -#endif -#ifdef HAVE_UNISTD_H #include -#endif #include "event.h" #include "evutil.h" -#include "./log.h" +#include "log.h" struct evbuffer * evbuffer_new(void) -- cgit v1.2.3-59-g8ed1b