From fe6c1b01929d5fdd0f0735616954e2fb30e8229d Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 10 Apr 2006 19:39:26 +0000 Subject: [PATCH] Remove redundant includes. They are all hanled in torint.h which we already do include. svn:r6364 --- src/or/or.h | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/src/or/or.h b/src/or/or.h index c18e78f9a7..0accd821e0 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -22,7 +22,6 @@ #include #include -#include #ifdef HAVE_UNISTD_H #include #endif @@ -38,27 +37,10 @@ #ifdef HAVE_CTYPE_H #include #endif -#include "../common/torint.h" -#ifdef HAVE_INTTYPES_H -#include -#endif #ifdef HAVE_SYS_PARAM_H #include /* FreeBSD needs this to know what version it is */ #endif -#ifdef HAVE_SYS_LIMITS_H -#include -#endif -#ifdef HAVE_MACHINE_LIMITS_H -#ifndef __FreeBSD__ - /* FreeBSD has a bug where it complains that this file is obsolete, - and I should migrate to using sys/limits. It complains even when - I include both. */ -#include -#endif -#endif -#ifdef HAVE_SYS_TYPES_H -#include /* Must be included before sys/stat.h for Ultrix */ -#endif +#include "../common/torint.h" #ifdef HAVE_SYS_WAIT_H #include #endif