diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2014-08-29 07:57:41 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2014-08-29 08:05:05 +1000 |
commit | 96e60a4ea242d2decf109835981ae186cc36f642 (patch) | |
tree | 49490fc0bb340d0c4f2d715565051443b07fcf9a /src/synproto.h | |
parent | 68d22ecf145bb9073121fd3a9fc1fdd0f880e48b (diff) |
Include xorg-server.h to fix build errors on newest glibc
In file included from /usr/include/string.h:634:0,
from /usr/include/xorg/os.h:53,
from /usr/include/xorg/misc.h:115,
from /usr/include/xorg/xf86str.h:37,
from /usr/include/xorg/xf86Xinput.h:54,
from synproto.h:36,
from synproto.c:24:
/usr/include/xorg/os.h:579:1: error: expected identifier or '(' before '__extension__'
strndup(const char *str, size_t n);
See http://lists.freedesktop.org/archives/xorg-devel/2014-July/043070.html
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/synproto.h')
-rw-r--r-- | src/synproto.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/synproto.h b/src/synproto.h index c52838c..6ba6740 100644 --- a/src/synproto.h +++ b/src/synproto.h @@ -31,6 +31,8 @@ #include "config.h" #endif +#include <xorg-server.h> + #include <unistd.h> #include <sys/ioctl.h> #include <xf86Xinput.h> |