Wayland: Fix missing constant on FreeBSD

On FreeBSD O_CLOEXEC is only available when _POSIX_C_SOURCE >= 200809.
O_CLOEXEC is in turn required by the epollshim header.

Issue reported on IRC.
This commit is contained in:
Camilla Löwy 2021-06-22 00:25:42 +02:00
parent 5b73fc8b80
commit a89fcd20d8

View File

@ -26,7 +26,7 @@
// It is fine to use C99 in this file because it will not be built with VS
//========================================================================
#define _POSIX_C_SOURCE 199309L
#define _POSIX_C_SOURCE 200809L
#include "internal.h"