Module Name: src
Committed By: christos
Date: Tue Jan 10 21:08:48 UTC 2017
Modified Files:
src/libexec/ld.elf_so: load.c
Log Message:
need <sys/stat.h>
To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/libexec/ld.elf_so/load.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/libexec/ld.elf_so/load.c
diff -u src/libexec/ld.elf_so/load.c:1.47 src/libexec/ld.elf_so/load.c:1.48
--- src/libexec/ld.elf_so/load.c:1.47 Wed Nov 27 13:01:33 2013
+++ src/libexec/ld.elf_so/load.c Tue Jan 10 16:08:48 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: load.c,v 1.47 2013/11/27 18:01:33 christos Exp $ */
+/* $NetBSD: load.c,v 1.48 2017/01/10 21:08:48 christos Exp $ */
/*
* Copyright 1996 John D. Polstra.
@@ -40,9 +40,15 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: load.c,v 1.47 2013/11/27 18:01:33 christos Exp $");
+__RCSID("$NetBSD: load.c,v 1.48 2017/01/10 21:08:48 christos Exp $");
#endif /* not lint */
+#include <sys/types.h>
+#include <sys/param.h>
+#include <sys/mman.h>
+#include <sys/sysctl.h>
+#include <sys/stat.h>
+
#include <err.h>
#include <errno.h>
#include <fcntl.h>
@@ -51,10 +57,6 @@ __RCSID("$NetBSD: load.c,v 1.47 2013/11/
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include <sys/types.h>
-#include <sys/param.h>
-#include <sys/mman.h>
-#include <sys/sysctl.h>
#include <dirent.h>
#include "debug.h"