#7924 closed Bugs (fixed)
Fix building interprocess workaround.hpp header on BSD systems
| Reported by: | Owned by: | Ion Gaztañaga | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | interprocess |
| Version: | Boost 1.52.0 | Severity: | Problem |
| Keywords: | Cc: |
Description
The attached patch fixes building code referencing the interprocess workaround.hpp header. When utilizing the sys/sysctl.h header it is required to also include the sys/param.h header.
Attachments (1)
Change History (4)
by , 10 years ago
| Attachment: | boost_workaround_hpp.diff added |
|---|
comment:1 by , 10 years ago
comment:3 by , 10 years ago
sys/param.h already brings in sys/types.h so it is redundant to include both. You can use just sys/param.h and it'll be correct for any of the OS's.
Note:
See TracTickets
for help on using tickets.

I see some *BSD derivatives need sys/param.h but others need sys/types.h. I'll add both.