summaryrefslogtreecommitdiff
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
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.
-rw-r--r--isofs/rr.c1
-rw-r--r--libdiskfs/file-set-trans.c1
-rw-r--r--libfshelp/fetch-root.c1
-rw-r--r--libnetfs/file-get-translator.c1
-rw-r--r--libnetfs/file-set-translator.c1
-rw-r--r--nfs/nfs.c1
-rw-r--r--nfs/ops.c1
-rw-r--r--storeio/storeio.c1
-rw-r--r--trans/fakeroot.c1
9 files changed, 9 insertions, 0 deletions
diff --git a/isofs/rr.c b/isofs/rr.c
index e9a672f7..4cd97924 100644
--- a/isofs/rr.c
+++ b/isofs/rr.c
@@ -23,6 +23,7 @@
#include <stdio.h>
#include <string.h>
#include <stdint.h>
+#include <sys/sysmacros.h>
#include "isofs.h"
/* These tell whether the specified extensions are on or not. */
diff --git a/libdiskfs/file-set-trans.c b/libdiskfs/file-set-trans.c
index 405a7861..c71cb61a 100644
--- a/libdiskfs/file-set-trans.c
+++ b/libdiskfs/file-set-trans.c
@@ -18,6 +18,7 @@
#include "priv.h"
#include "fs_S.h"
+#include <sys/sysmacros.h>
#include <hurd/paths.h>
#include <hurd/fsys.h>
diff --git a/libfshelp/fetch-root.c b/libfshelp/fetch-root.c
index 082308da..c1001bc3 100644
--- a/libfshelp/fetch-root.c
+++ b/libfshelp/fetch-root.c
@@ -26,6 +26,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <sys/sysmacros.h>
#include "fshelp.h"
diff --git a/libnetfs/file-get-translator.c b/libnetfs/file-get-translator.c
index 9a5c425d..fb23226e 100644
--- a/libnetfs/file-get-translator.c
+++ b/libnetfs/file-get-translator.c
@@ -24,6 +24,7 @@
#include "netfs.h"
#include "fs_S.h"
#include <sys/mman.h>
+#include <sys/sysmacros.h>
error_t
netfs_S_file_get_translator (struct protid *user,
diff --git a/libnetfs/file-set-translator.c b/libnetfs/file-set-translator.c
index 4fc591e8..5b2383b8 100644
--- a/libnetfs/file-set-translator.c
+++ b/libnetfs/file-set-translator.c
@@ -21,6 +21,7 @@
#include "netfs.h"
#include "fs_S.h"
+#include <sys/sysmacros.h>
#include <hurd/paths.h>
#include <hurd/fsys.h>
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
diff --git a/storeio/storeio.c b/storeio/storeio.c
index 96ea6823..7ed82379 100644
--- a/storeio/storeio.c
+++ b/storeio/storeio.c
@@ -23,6 +23,7 @@
#include <fcntl.h>
#include <argp.h>
#include <argz.h>
+#include <sys/sysmacros.h>
#include <hurd.h>
#include <hurd/ports.h>
diff --git a/trans/fakeroot.c b/trans/fakeroot.c
index 7313a98e..64240f6b 100644
--- a/trans/fakeroot.c
+++ b/trans/fakeroot.c
@@ -26,6 +26,7 @@
#include <sys/mman.h>
#include <sys/stat.h>
#include <pthread.h>
+#include <sys/sysmacros.h>
#include <hurd/ihash.h>
#include <hurd/paths.h>