mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
rik's patch to not complain about freebsd's bug
svn:r1921
This commit is contained in:
parent
5f36b11fe0
commit
1841aa456b
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user