X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Fguestfsd.c;h=8c39c39c66b3ae39b62b53a610220008eec2e74f;hb=74bde73d5c60c13b894fa60fff680a447499c884;hp=e3b8883eb2c2c472fe038f0bd2677234c28ea521;hpb=8b217a87bf9175e7e02a5913e5617e0d12dfd09c;p=libguestfs.git diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c index e3b8883..8c39c39 100644 --- a/daemon/guestfsd.c +++ b/daemon/guestfsd.c @@ -34,10 +34,10 @@ #include #include #include -#include #include #include +#include "c-ctype.h" #include "daemon.h" static char *read_cmdline (void); @@ -835,7 +835,7 @@ print_shell_quote (FILE *stream, const struct printf_info *info ATTRIBUTE_UNUSED, const void *const *args) { -#define SAFE(c) (isalnum((c)) || \ +#define SAFE(c) (c_isalnum((c)) || \ (c) == '/' || (c) == '-' || (c) == '_' || (c) == '.') int i, len; const char *str = *((const char **) (args[0]));