Opened 14 years ago
Closed 14 years ago
#2596 closed Bugs (fixed)
FreeBSD requires unistd.h
Reported by: | Owned by: | René Rivera | |
---|---|---|---|
Milestone: | Boost 1.38.0 | Component: | bjam |
Version: | Boost 1.37.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Reported by a Debian GNU/kFreeBSD user: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506736
The fix is to #include <unistd.h> in jam.h; see attached patch.
Attachments (1)
Change History (4)
by , 14 years ago
Attachment: | kfreebsd-jam.patch added |
---|
follow-up: 2 comment:1 by , 14 years ago
comment:2 by , 14 years ago
Replying to vladimir_prus:
I am unsure why the include need to be wrapped in __GLIBC__. Please clarify.
I simply passed on the patch provided by the initial reported.
You're likely right that it doesn't need to be guareded by #ifdef __GLIBC__ Any reasonably modern unix should have unistd.h.
comment:3 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I am unsure why the include need to be wrapped in GLIBC. Please clarify.