summaryrefslogtreecommitdiff
path: root/xlsclients.c
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2009-10-20 15:40:13 -0700
committerJeremy Huddleston <jeremyhu@freedesktop.org>2009-10-20 20:11:42 -0700
commit2793689cc2eda675ec11a3a0cfed5e470fa83ee3 (patch)
treed73e5233f60a73cb4419f0f61568b68b3ac55975 /xlsclients.c
parent1839eabbdd697039a264fe7ebb3f4d26f08ddabe (diff)
Add implementation of strnlen for systems without this function
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
Diffstat (limited to 'xlsclients.c')
-rw-r--r--xlsclients.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlsclients.c b/xlsclients.c
index 049bc4c..2452352 100644
--- a/xlsclients.c
+++ b/xlsclients.c
@@ -37,6 +37,9 @@ in this Software without prior written authorization from The Open Group.
#include <xcb/xcb.h>
#include <xcb/xproto.h>
#include <xcb/xcb_atom.h>
+#ifndef HAVE_STRNLEN
+#include "strnlen.h"
+#endif
static char *ProgramName;