[or-cvs] rik"s patch to not complain about freebsd"s bug
Roger Dingledine
arma at seul.org
Wed May 26 20:27:47 UTC 2004
Update of /home/or/cvsroot/src/common
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/common
Modified Files:
util.c
Log Message:
rik's patch to not complain about freebsd's bug
Index: util.c
===================================================================
RCS file: /home/or/cvsroot/src/common/util.c,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -d -r1.102 -r1.103
--- util.c 18 May 2004 15:35:21 -0000 1.102
+++ util.c 26 May 2004 20:27:45 -0000 1.103
@@ -58,8 +58,12 @@
#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