Module Name: src
Committed By: joerg
Date: Tue Mar 13 22:24:48 UTC 2012
Modified Files:
src/lib/libc/compat/sys: compat_getdents.c
Log Message:
Add missing includes.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libc/compat/sys/compat_getdents.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/compat/sys/compat_getdents.c
diff -u src/lib/libc/compat/sys/compat_getdents.c:1.5 src/lib/libc/compat/sys/compat_getdents.c:1.6
--- src/lib/libc/compat/sys/compat_getdents.c:1.5 Tue Mar 13 21:13:32 2012
+++ src/lib/libc/compat/sys/compat_getdents.c Tue Mar 13 22:24:48 2012
@@ -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>