Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tor
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
jarl
tor
Commits
1fa7b3ce
Commit
1fa7b3ce
authored
19 years ago
by
Peter Palfrader
Browse files
Options
Downloads
Patches
Plain Diff
Avoid warnings about machine/limits.h on Debian GNU/kFreeBSD
svn:r6271
parent
0567506f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/common/torint.h
+5
-2
5 additions, 2 deletions
src/common/torint.h
with
5 additions
and
2 deletions
src/common/torint.h
+
5
−
2
View file @
1fa7b3ce
...
...
@@ -27,10 +27,13 @@
#include
<sys/limits.h>
#endif
#ifdef HAVE_MACHINE_LIMITS_H
#if
n
def
__FreeBSD_
_
#if
!
def
ined(__FreeBSD__) && !defined(
__FreeBSD_
kernel__)
/* 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. */
I include both.
__FreeBSD_kernel__ is defined by Debian GNU/kFreeBSD which
does the same thing (but doesn't defined __FreeBSD__).
*/
#include
<machine/limits.h>
#endif
#endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment