aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-02-23 19:50:37 +0100
committerKristian Høgsberg <krh@bitplanet.net>2012-02-23 15:35:30 -0500
commitc56667bb8323654fa17fa5ac18d9dee68b84bdd5 (patch)
tree10cd834538bd5a16fd839c78ad78e7268e7441ec /src
parentAdd wl_region and surface requests to set opaque and input regions (diff)
downloadwayland-c56667bb8323654fa17fa5ac18d9dee68b84bdd5.tar
wayland-c56667bb8323654fa17fa5ac18d9dee68b84bdd5.tar.gz
wayland-c56667bb8323654fa17fa5ac18d9dee68b84bdd5.tar.bz2
wayland-c56667bb8323654fa17fa5ac18d9dee68b84bdd5.tar.lz
wayland-c56667bb8323654fa17fa5ac18d9dee68b84bdd5.tar.xz
wayland-c56667bb8323654fa17fa5ac18d9dee68b84bdd5.tar.zst
wayland-c56667bb8323654fa17fa5ac18d9dee68b84bdd5.zip
Fix compilation: uid_t, gid_t and pid_t are defined in sys/types.h
This error shows up in third-party code when including wayland-server.h.
Diffstat (limited to 'src')
-rw-r--r--src/wayland-server.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wayland-server.h b/src/wayland-server.h
index edd8147..2a21111 100644
--- a/src/wayland-server.h
+++ b/src/wayland-server.h
@@ -27,6 +27,7 @@
extern "C" {
#endif
+#include <sys/types.h>
#include <stdint.h>
#include "wayland-util.h"
#include "wayland-server-protocol.h"