git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
daemon/gnulib: Include glob module.
[libguestfs.git]
/
daemon
/
realpath.c
diff --git
a/daemon/realpath.c
b/daemon/realpath.c
index
17e74ea
..
02a82d6
100644
(file)
--- a/
daemon/realpath.c
+++ b/
daemon/realpath.c
@@
-32,6
+32,11
@@
#include "daemon.h"
#include "actions.h"
+/* On Windows, NAME_MAX is not defined. */
+#ifndef NAME_MAX
+#define NAME_MAX FILENAME_MAX
+#endif
+
char *
do_realpath (const char *path)
{