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.
master
Camilla Löwy ago%!(EXTRA string=4 years)
parent 5b73fc8b80
commit a89fcd20d8
  1. 2
      src/wl_init.c

@ -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"

Loading…
Cancel
Save