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.
This commit is contained in:
Thiago Macieira 2012-02-23 19:50:37 +01:00 committed by Kristian Høgsberg
parent 1ba69d26e0
commit c56667bb83

View file

@ -27,6 +27,7 @@
extern "C" { extern "C" {
#endif #endif
#include <sys/types.h>
#include <stdint.h> #include <stdint.h>
#include "wayland-util.h" #include "wayland-util.h"
#include "wayland-server-protocol.h" #include "wayland-server-protocol.h"