summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/dir-lookup.c6
-rw-r--r--libdiskfs/opts-append-std.c1
2 files changed, 5 insertions, 2 deletions
diff --git a/libdiskfs/dir-lookup.c b/libdiskfs/dir-lookup.c
index c8138254..36f2bceb 100644
--- a/libdiskfs/dir-lookup.c
+++ b/libdiskfs/dir-lookup.c
@@ -15,13 +15,15 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-#include "priv.h"
-#include "fs_S.h"
+#include <stdio.h>
#include <fcntl.h>
#include <string.h>
#include <hurd/fsys.h>
#include <hurd/paths.h>
+#include "priv.h"
+#include "fs_S.h"
+
/* XXX - Temporary hack; this belongs in a header file, probably types.h. */
#define major(x) ((int)(((unsigned) (x) >> 8) & 0xff))
#define minor(x) ((int)((x) & 0xff))
diff --git a/libdiskfs/opts-append-std.c b/libdiskfs/opts-append-std.c
index 505752d5..d3da031d 100644
--- a/libdiskfs/opts-append-std.c
+++ b/libdiskfs/opts-append-std.c
@@ -20,6 +20,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+#include <stdio.h>
#include <argz.h>
#include "priv.h"