diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2014-08-29 07:57:41 +1000 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-09-15 12:21:46 +0900 |
commit | 32d9949024c758b4c3d53dec55dc970225657849 (patch) | |
tree | 1d595199bed8b6dd548b0baa9aef48b32679c0e2 | |
parent | 7c21a0235899031ac8ae40b5897deba5de6133e4 (diff) | |
download | xf86-input-synaptics-tizen_3.0.2015.q2_common.tar.gz xf86-input-synaptics-tizen_3.0.2015.q2_common.tar.bz2 xf86-input-synaptics-tizen_3.0.2015.q2_common.zip |
Include xorg-server.h to fix build errors on newest glibcHEADtizen_3.0.2014.q3_common_releasesubmit/tizen_mobile/20141120.000000submit/tizen_common/20140923.015256accepted/tizen/common/20140923.085254tizen_3.0.2015.q2_commontizen_3.0.2015.q1_commontizen_3.0.2014.q4_commontizen_3.0.2014.q3_commontizenaccepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_commonaccepted/tizen_3.0.2014.q3_common
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
Change-Id: I61c60102a161a19376dc22a69eb73a65fceab178
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | src/eventcomm.h | 2 | ||||
-rw-r--r-- | src/ps2comm.h | 2 | ||||
-rw-r--r-- | src/synproto.h | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/src/eventcomm.h b/src/eventcomm.h index 30c09ee..ac3bbaa 100644 --- a/src/eventcomm.h +++ b/src/eventcomm.h @@ -27,6 +27,8 @@ #ifndef _EVENTCOMM_H_ #define _EVENTCOMM_H_ +#include <xorg-server.h> + #include <linux/input.h> #include <linux/version.h> #include <xf86Xinput.h> diff --git a/src/ps2comm.h b/src/ps2comm.h index 2be55e4..fa71d10 100644 --- a/src/ps2comm.h +++ b/src/ps2comm.h @@ -22,6 +22,8 @@ #ifndef _PS2COMM_H_ #define _PS2COMM_H_ +#include <xorg-server.h> + #include <unistd.h> #include <sys/ioctl.h> #include "xf86_OSproc.h" diff --git a/src/synproto.h b/src/synproto.h index a099fce..92c447d 100644 --- a/src/synproto.h +++ b/src/synproto.h @@ -27,6 +27,8 @@ #ifndef _SYNPROTO_H_ #define _SYNPROTO_H_ +#include <xorg-server.h> + #include <unistd.h> #include <sys/ioctl.h> #include <xf86Xinput.h> |