git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build: make autogen.sh update .git-module-status, as it should
[libguestfs.git]
/
daemon
/
realpath.c
diff --git
a/daemon/realpath.c
b/daemon/realpath.c
index
17e74ea
..
f9d08da
100644
(file)
--- a/
daemon/realpath.c
+++ b/
daemon/realpath.c
@@
-27,11
+27,14
@@
#include <sys/types.h>
#include <dirent.h>
#include <sys/types.h>
#include <dirent.h>
-#include "openat.h"
-
#include "daemon.h"
#include "actions.h"
#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)
{
char *
do_realpath (const char *path)
{