summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston Sequoia <jeremyhu@apple.com>2013-12-17 15:29:31 -0800
committerJeremy Huddleston Sequoia <jeremyhu@apple.com>2013-12-17 15:31:33 -0800
commit44ba273ca00359e80fde2e0e2fb12bb3df1995db (patch)
tree0266e2da2d4af700935c50c4f805d233b4877744
parent72355a2b5583b5e915966b81e27a35e86ce62fca (diff)
xlibclient.c: Fix build failure due to including server headers without first including xorg-server.h
eg: .../include/xorg/os.h:572:1: error: expected parameter declarator [Parse Issue] strlcpy(char *dst, const char *src, size_t siz); ^ /usr/include/secure/_string.h:105:44: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest)) ^ Found-by: Tinderbox Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
-rw-r--r--src/xlibclient.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xlibclient.c b/src/xlibclient.c
index 92411d4..f7fe652 100644
--- a/src/xlibclient.c
+++ b/src/xlibclient.c
@@ -39,6 +39,7 @@
#include <X11/XKBlib.h>
#include <X11/extensions/XShm.h>
+#include <xorg-server.h>
#include <xf86.h>
#ifdef HAVE_CONFIG_H