mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:47:35 +00:00
LibCore: Try to fix fuzzer build
This might fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=29675 See also `man memfd_create`.
This commit is contained in:
parent
98637bd549
commit
c5709c0aed
1 changed files with 4 additions and 0 deletions
|
@ -24,6 +24,10 @@
|
||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if defined(__linux__) && !defined(_GNU_SOURCE)
|
||||||
|
# define _GNU_SOURCE // For memfd_create, MFD_CLOEXEC
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <LibCore/AnonymousBuffer.h>
|
#include <LibCore/AnonymousBuffer.h>
|
||||||
#include <LibIPC/Decoder.h>
|
#include <LibIPC/Decoder.h>
|
||||||
#include <LibIPC/Encoder.h>
|
#include <LibIPC/Encoder.h>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue