Modify

Ticket #7924 (closed Bugs: fixed)

Opened 15 months ago

Last modified 15 months ago

Fix building interprocess workaround.hpp header on BSD systems

Reported by: brad@… Owned by: igaztanaga
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

boost_workaround_hpp.diff Download (583 bytes) - added by brad@… 15 months ago.

Change History

Changed 15 months ago by brad@…

comment:1 Changed 15 months ago by igaztanaga

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

comment:2 Changed 15 months ago by igaztanaga

  • Status changed from new to closed
  • Resolution set to fixed

(In [82799]) Fixed #7924

comment:3 Changed 15 months 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.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.