Source-Changes-HG archive

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

[src/trunk]: src/sys/ufs/ffs Need <string.h> for memcpy(3) prototype if build...



details:   https://anonhg.NetBSD.org/src/rev/5763eb23941d
branches:  trunk
changeset: 476347:5763eb23941d
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Sep 14 04:50:54 1999 +0000

description:
Need <string.h> for memcpy(3) prototype if building from userland.

diffstat:

 sys/ufs/ffs/ffs_bswap.c |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 3a11c09b91fe -r 5763eb23941d sys/ufs/ffs/ffs_bswap.c
--- a/sys/ufs/ffs/ffs_bswap.c   Tue Sep 14 01:32:43 1999 +0000
+++ b/sys/ufs/ffs/ffs_bswap.c   Tue Sep 14 04:50:54 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ffs_bswap.c,v 1.5 1998/08/09 20:15:39 perry Exp $      */
+/*     $NetBSD: ffs_bswap.c,v 1.6 1999/09/14 04:50:54 thorpej Exp $    */
 
 /*
  * Copyright (c) 1998 Manuel Bouyer.
@@ -40,6 +40,10 @@
 #include <ufs/ffs/fs.h>
 #include <ufs/ffs/ffs_extern.h>
 
+#if !defined(_KERNEL)
+#include <string.h>
+#endif
+
 void
 ffs_sb_swap(o, n, ns)
        struct fs *o, *n;



Home | Main Index | Thread Index | Old Index