GNOME Bugzilla – Bug 760174
sys/prctl.h should only be included on Linux
Last modified: 2016-01-06 06:44:08 UTC
sys/prctl.h is a Linux-specific header, so we should only include it on Linux.
Created attachment 318276 [details] [review] libide: don't include sys/prctl.h on non-Linux systems
Review of attachment 318276 [details] [review]: we use it like this: #ifdef __linux /* Ensure we are killed with our parent */ prctl (PR_SET_PDEATHSIG, 15); #endif so LGTM
Attachment 318276 [details] pushed as dd067e9 - libide: don't include sys/prctl.h on non-Linux systems