Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/fs/msdosfs Need strings.h for ffs()
details: https://anonhg.NetBSD.org/src/rev/07612312bf32
branches: trunk
changeset: 359055:07612312bf32
user: sevan <sevan%NetBSD.org@localhost>
date: Sat Jan 27 03:54:01 2018 +0000
description:
Need strings.h for ffs()
Resolves implict declaration warning of ffs() when building tools via build.sh
diffstat:
sys/fs/msdosfs/msdosfs_fat.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 85d8be4178c7 -r 07612312bf32 sys/fs/msdosfs/msdosfs_fat.c
--- a/sys/fs/msdosfs/msdosfs_fat.c Sat Jan 27 02:07:33 2018 +0000
+++ b/sys/fs/msdosfs/msdosfs_fat.c Sat Jan 27 03:54:01 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: msdosfs_fat.c,v 1.31 2016/05/07 16:43:02 mlelstv Exp $ */
+/* $NetBSD: msdosfs_fat.c,v 1.32 2018/01/27 03:54:01 sevan Exp $ */
/*-
* Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
@@ -52,7 +52,7 @@
#endif
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: msdosfs_fat.c,v 1.31 2016/05/07 16:43:02 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: msdosfs_fat.c,v 1.32 2018/01/27 03:54:01 sevan Exp $");
/*
* kernel include files.
@@ -69,6 +69,7 @@
#include <sys/buf.h>
#include <sys/vnode.h> /* to define vattr structure */
#else
+#include <strings.h>
#include <ffs/buf.h>
#endif
Home |
Main Index |
Thread Index |
Old Index