diff options
author | Jeremy Huddleston <jeremyhu@apple.com> | 2010-07-10 10:19:14 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2010-07-10 10:19:14 -0700 |
commit | 8263f19cf9002c7b5f2967a2bde7af4ed117c1e5 (patch) | |
tree | bc51ad1db093e0ba37d26bd25f25186e5f75215a /xwininfo.c | |
parent | 3fa31068bcae6a5bee7fbd41788e13d6d56da8c0 (diff) |
strnlen: Fix building on systems without strnlen(3)
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'xwininfo.c')
-rw-r--r-- | xwininfo.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -83,6 +83,10 @@ of the copyright holder. #include <ctype.h> #include <errno.h> +#ifndef HAVE_STRNLEN +#include "strnlen.h" +#endif + /* Include routines to handle parsing defaults */ #include "dsimple.h" |