Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/memswitch Make compilable even SRAMDEBUG.



details:   https://anonhg.NetBSD.org/src/rev/2827fb4dbb80
branches:  trunk
changeset: 996775:2827fb4dbb80
user:      isaki <isaki%NetBSD.org@localhost>
date:      Fri Feb 08 08:41:11 2019 +0000

description:
Make compilable even SRAMDEBUG.

diffstat:

 usr.sbin/memswitch/memswitch.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 60f64361aa28 -r 2827fb4dbb80 usr.sbin/memswitch/memswitch.c
--- a/usr.sbin/memswitch/memswitch.c    Fri Feb 08 08:22:09 2019 +0000
+++ b/usr.sbin/memswitch/memswitch.c    Fri Feb 08 08:41:11 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: memswitch.c,v 1.15 2018/01/26 09:38:26 christos Exp $  */
+/*     $NetBSD: memswitch.c,v 1.16 2019/02/08 08:41:11 isaki Exp $     */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -48,6 +48,7 @@
  * SRAMDEBUG -- works on other (faster) platforms;
  *   store in a regular file instead of actual non-volatile static RAM.
  */
+#include <sys/stat.h>
 #define PATH_RAMFILE "/tmp/sramfile"
 #endif
 



Home | Main Index | Thread Index | Old Index