Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/citrus need <sys/stat.h>
details: https://anonhg.NetBSD.org/src/rev/ae0689b91c1e
branches: trunk
changeset: 350341:ae0689b91c1e
user: christos <christos%NetBSD.org@localhost>
date: Tue Jan 10 16:51:30 2017 +0000
description:
need <sys/stat.h>
diffstat:
lib/libc/citrus/citrus_mmap.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (33 lines):
diff -r 540bda1c1ce9 -r ae0689b91c1e lib/libc/citrus/citrus_mmap.c
--- a/lib/libc/citrus/citrus_mmap.c Tue Jan 10 15:43:59 2017 +0000
+++ b/lib/libc/citrus/citrus_mmap.c Tue Jan 10 16:51:30 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: citrus_mmap.c,v 1.4 2011/10/15 23:00:01 christos Exp $ */
+/* $NetBSD: citrus_mmap.c,v 1.5 2017/01/10 16:51:30 christos Exp $ */
/*-
* Copyright (c)2003 Citrus Project,
@@ -28,10 +28,14 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: citrus_mmap.c,v 1.4 2011/10/15 23:00:01 christos Exp $");
+__RCSID("$NetBSD: citrus_mmap.c,v 1.5 2017/01/10 16:51:30 christos Exp $");
#endif /* LIBC_SCCS and not lint */
#include "namespace.h"
+
+#include <sys/mman.h>
+#include <sys/stat.h>
+
#include <assert.h>
#include <errno.h>
#include <stdio.h>
@@ -40,7 +44,6 @@
#include <unistd.h>
#include <fcntl.h>
#include <limits.h>
-#include <sys/mman.h>
#include "citrus_namespace.h"
#include "citrus_region.h"
Home |
Main Index |
Thread Index |
Old Index