diff options
author | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2013-12-17 15:29:31 -0800 |
---|---|---|
committer | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2013-12-17 15:31:33 -0800 |
commit | 44ba273ca00359e80fde2e0e2fb12bb3df1995db (patch) | |
tree | 0266e2da2d4af700935c50c4f805d233b4877744 /src | |
parent | 72355a2b5583b5e915966b81e27a35e86ce62fca (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>
Diffstat (limited to 'src')
-rw-r--r-- | src/xlibclient.c | 1 |
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 |