Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#7924 closed Bugs (fixed)

Fix building interprocess workaround.hpp header on BSD systems

Reported by: brad@… Owned by: Ion Gaztañaga
Milestone: To Be Determined Component: interprocess
Version: Boost 1.52.0 Severity: Problem
Keywords: Cc:


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)

boost_workaround_hpp.diff (583 bytes) - added by brad@… 5 years ago.

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by brad@…

Attachment: boost_workaround_hpp.diff added

comment:1 Changed 5 years ago by Ion Gaztañaga

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

comment:2 Changed 5 years ago by Ion Gaztañaga

Resolution: fixed
Status: newclosed

(In [82799]) Fixed #7924

comment:3 Changed 5 years ago by brad@…

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.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ion Gaztañaga.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.