mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 13:27:36 +00:00
22 lines
900 B
Diff
22 lines
900 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Peter Elliott <pelliott@ualberta.ca>
|
|
Date: Sat, 11 Feb 2023 14:58:38 -0700
|
|
Subject: [PATCH] Don't use CMSG_CLOEXEC
|
|
|
|
---
|
|
meson.build | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/meson.build b/meson.build
|
|
index 52bf93bb278c75ee77bd3fcb29810752a1bc4ded..622899a3076577218d93f5075d03279765723acc 100644
|
|
--- a/meson.build
|
|
+++ b/meson.build
|
|
@@ -51,7 +51,7 @@ foreach f: have_funcs
|
|
config_h.set('HAVE_' + f.underscorify().to_upper(), cc.has_function(f))
|
|
endforeach
|
|
config_h.set10('HAVE_XUCRED_CR_PID', cc.has_member('struct xucred', 'cr_pid', prefix : '#include <sys/ucred.h>'))
|
|
-have_broken_msg_cmsg_cloexec = false
|
|
+have_broken_msg_cmsg_cloexec = true
|
|
if host_machine.system() == 'freebsd'
|
|
have_broken_msg_cmsg_cloexec = not cc.compiles('''
|
|
#include <sys/param.h> /* To get __FreeBSD_version. */
|