Module Name: src
Committed By: isaki
Date: Fri Feb 8 08:41:11 UTC 2019
Modified Files:
src/usr.sbin/memswitch: memswitch.c
Log Message:
Make compilable even SRAMDEBUG.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/usr.sbin/memswitch/memswitch.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/memswitch/memswitch.c
diff -u src/usr.sbin/memswitch/memswitch.c:1.15 src/usr.sbin/memswitch/memswitch.c:1.16
--- src/usr.sbin/memswitch/memswitch.c:1.15 Fri Jan 26 09:38:26 2018
+++ src/usr.sbin/memswitch/memswitch.c Fri Feb 8 08:41:11 2019
@@ -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