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>
This commit is contained in:
Jeremy Huddleston Sequoia
2013-12-17 15:29:31 -08:00
parent 72355a2b55
commit 44ba273ca0

View File

@@ -39,6 +39,7 @@
#include <X11/XKBlib.h>
#include <X11/extensions/XShm.h>
#include <xorg-server.h>
#include <xf86.h>
#ifdef HAVE_CONFIG_H