Source-Changes-HG archive

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

[src/trunk]: src/sys/ufs/ext2fs Need string.h for memset() prototype.



details:   https://anonhg.NetBSD.org/src/rev/ec68d387a4cd
branches:  trunk
changeset: 495185:ec68d387a4cd
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Mon Jul 24 00:23:10 2000 +0000

description:
Need string.h for memset() prototype.

diffstat:

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

diffs (20 lines):

diff -r 219596a23571 -r ec68d387a4cd sys/ufs/ext2fs/ext2fs_bswap.c
--- a/sys/ufs/ext2fs/ext2fs_bswap.c     Mon Jul 24 00:11:10 2000 +0000
+++ b/sys/ufs/ext2fs/ext2fs_bswap.c     Mon Jul 24 00:23:10 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ext2fs_bswap.c,v 1.5 2000/05/15 08:51:55 bouyer Exp $  */
+/*     $NetBSD: ext2fs_bswap.c,v 1.6 2000/07/24 00:23:10 mycroft Exp $ */
 
 /*
  * Copyright (c) 1997 Manuel Bouyer.
@@ -37,6 +37,10 @@
 #include <ufs/ext2fs/ext2fs.h>
 #include <ufs/ext2fs/ext2fs_dinode.h>
 
+#if !defined(_KERNEL)
+#include <string.h>
+#endif
+
 /* These functions are only needed if native byte order is not big endian */
 #if BYTE_ORDER == BIG_ENDIAN
 void



Home | Main Index | Thread Index | Old Index