summaryrefslogtreecommitdiff
path: root/libnetfs
diff options
context:
space:
mode:
Diffstat (limited to 'libnetfs')
-rw-r--r--libnetfs/file-set-translator.c4
-rw-r--r--libnetfs/fsys-getroot.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/libnetfs/file-set-translator.c b/libnetfs/file-set-translator.c
index 63c7e028..4307924a 100644
--- a/libnetfs/file-set-translator.c
+++ b/libnetfs/file-set-translator.c
@@ -22,7 +22,9 @@
#include <hurd/paths.h>
#include <hurd/fsys.h>
-error_t
+#define makedev(maj,min) ((((maj)&0xFF)<<8)+((min)&0xFF))
+
+error_t
netfs_S_file_set_translator (struct protid *user,
int passive_flags, int active_flags,
int killtrans_flags, char *passive,
diff --git a/libnetfs/fsys-getroot.c b/libnetfs/fsys-getroot.c
index 346c3622..f7f40385 100644
--- a/libnetfs/fsys-getroot.c
+++ b/libnetfs/fsys-getroot.c
@@ -21,6 +21,7 @@
#include "netfs.h"
#include "fsys_S.h"
#include "misc.h"
+#include "callbacks.h"
#include <fcntl.h>
error_t