[or-cvs] rik"s patch to not complain about freebsd"s bug
Roger Dingledine
arma at seul.org
Wed May 26 20:27:57 UTC 2004
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or
Modified Files:
or.h
Log Message:
rik's patch to not complain about freebsd's bug
Index: or.h
===================================================================
RCS file: /home/or/cvsroot/src/or/or.h,v
retrieving revision 1.357
retrieving revision 1.358
diff -u -d -r1.357 -r1.358
--- or.h 22 May 2004 18:05:20 -0000 1.357
+++ or.h 26 May 2004 20:27:54 -0000 1.358
@@ -44,8 +44,13 @@
#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 complaints 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
More information about the tor-commits
mailing list