diff options
author | Peter Palfrader <peter@palfrader.org> | 2006-04-10 19:39:26 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2006-04-10 19:39:26 +0000 |
commit | fe6c1b01929d5fdd0f0735616954e2fb30e8229d (patch) | |
tree | da2b54a18fdeb0467c0f2be04ace0b350253c643 /src/or/or.h | |
parent | 561f2ec7b9255a60fdb2620731ceccf15008364c (diff) | |
download | tor-fe6c1b01929d5fdd0f0735616954e2fb30e8229d.tar tor-fe6c1b01929d5fdd0f0735616954e2fb30e8229d.tar.gz |
Remove redundant includes. They are all hanled in torint.h which we already do include.
svn:r6364
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/src/or/or.h b/src/or/or.h index c18e78f9a..0accd821e 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -22,7 +22,6 @@ #include <stdio.h> #include <stdlib.h> -#include <limits.h> #ifdef HAVE_UNISTD_H #include <unistd.h> #endif @@ -38,27 +37,10 @@ #ifdef HAVE_CTYPE_H #include <ctype.h> #endif -#include "../common/torint.h" -#ifdef HAVE_INTTYPES_H -#include <inttypes.h> -#endif #ifdef HAVE_SYS_PARAM_H #include <sys/param.h> /* FreeBSD needs this to know what version it is */ #endif -#ifdef HAVE_SYS_LIMITS_H -#include <sys/limits.h> -#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 <machine/limits.h> -#endif -#endif -#ifdef HAVE_SYS_TYPES_H -#include <sys/types.h> /* Must be included before sys/stat.h for Ultrix */ -#endif +#include "../common/torint.h" #ifdef HAVE_SYS_WAIT_H #include <sys/wait.h> #endif |