Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/compat/sys Add missing includes.



details:   https://anonhg.NetBSD.org/src/rev/fbc09171c982
branches:  trunk
changeset: 778042:fbc09171c982
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue Mar 13 22:24:48 2012 +0000

description:
Add missing includes.

diffstat:

 lib/libc/compat/sys/compat_getdents.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 028f2678c656 -r fbc09171c982 lib/libc/compat/sys/compat_getdents.c
--- a/lib/libc/compat/sys/compat_getdents.c     Tue Mar 13 22:12:40 2012 +0000
+++ b/lib/libc/compat/sys/compat_getdents.c     Tue Mar 13 22:24:48 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: compat_getdents.c,v 1.5 2012/03/13 21:13:32 christos Exp $     */
+/*     $NetBSD: compat_getdents.c,v 1.6 2012/03/13 22:24:48 joerg Exp $        */
 
 /*-
  * Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -31,14 +31,16 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: compat_getdents.c,v 1.5 2012/03/13 21:13:32 christos Exp $");
+__RCSID("$NetBSD: compat_getdents.c,v 1.6 2012/03/13 22:24:48 joerg Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #define __LIBC12_SOURCE__
 
 #include "namespace.h"
 #include <sys/types.h>
+#include <assert.h>
 #include <dirent.h>
+#include <stddef.h>
 #include <compat/include/dirent.h>
 #include <string.h>
 



Home | Main Index | Thread Index | Old Index