mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-08-05 20:58:29 +02:00
Fix compilation on newer Linux systems
Defining _GNU_SOURCE will set the appropriate POSIX levels required to use the `_MAX`, `kill`, `realpath`, etc, set of POSIX family functions and defines. Signed-off-by: Ikey Doherty <ikey@solus-project.com>
This commit is contained in:

committed by
Marc Di Luzio

parent
cc931a6237
commit
400dcb9c53
@@ -28,6 +28,9 @@ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
*/
|
||||
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#include "gamemode.h"
|
||||
#include "governors.h"
|
||||
#include "logging.h"
|
||||
|
Reference in New Issue
Block a user