summaryrefslogtreecommitdiff
path: root/nfs
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2019-07-27 12:32:17 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2019-07-27 12:32:17 +0200
commit3834e9e19d0cf6ff5dfbaec9500308e4b79da23b (patch)
tree58d33da6a0ed0d96dec9a5dc0df950867116a1ac /nfs
parent0d1e89c38f0d99f5bab0c5a52e21d1efd87fbd76 (diff)
Fix missing gnu_dev_* prototypes
* isofs/rr.c: Include <sys/sysmacros.h>. * libdiskfs/file-set-trans.c: Likewise. * libfshelp/fetch-root.c: Likewise. * libnetfs/file-get-translator.c: Likewise. * libnetfs/file-set-translator.c: Likewise. * nfs/nfs.c: Likewise. * nfs/ops.c: Likewise. * storeio/storeio.c: Likewise. * trans/fakeroot.c: Likewise.
Diffstat (limited to 'nfs')
-rw-r--r--nfs/nfs.c1
-rw-r--r--nfs/ops.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/nfs/nfs.c b/nfs/nfs.c
index 1a8b1d42..d124cae7 100644
--- a/nfs/nfs.c
+++ b/nfs/nfs.c
@@ -26,6 +26,7 @@
#include <string.h>
#include <netinet/in.h>
#include <stdio.h>
+#include <sys/sysmacros.h>
/* Convert an NFS mode (TYPE and MODE) to a Hurd mode and return
it. */
diff --git a/nfs/ops.c b/nfs/ops.c
index b5a80005..3599b496 100644
--- a/nfs/ops.c
+++ b/nfs/ops.c
@@ -25,6 +25,7 @@
#include <dirent.h>
#include <unistd.h>
#include <maptime.h>
+#include <sys/sysmacros.h>
/* We have fresh stat information for NP; the file attribute (fattr)
structure is at P. Update our entry. Return the address of the next