[haiku-commits] r34840 - haiku/trunk/src/system/libroot/posix

  • From: axeld@xxxxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 1 Jan 2010 20:36:02 +0100 (CET)

Author: axeld
Date: 2010-01-01 20:36:01 +0100 (Fri, 01 Jan 2010)
New Revision: 34840
Changeset: http://dev.haiku-os.org/changeset/34840/haiku

Modified:
   haiku/trunk/src/system/libroot/posix/dirent.c
Log:
* Our userland build obviously adds some default headers with GCC2 - why would
  it do that? This fixes the kernel build, and probably GCC4, too.


Modified: haiku/trunk/src/system/libroot/posix/dirent.c
===================================================================
--- haiku/trunk/src/system/libroot/posix/dirent.c       2010-01-01 18:52:09 UTC 
(rev 34839)
+++ haiku/trunk/src/system/libroot/posix/dirent.c       2010-01-01 19:36:01 UTC 
(rev 34840)
@@ -11,6 +11,7 @@
 #include <errno.h>
 #include <limits.h>
 #include <stdlib.h>
+#include <string.h>
 
 #include <syscalls.h>
 #include <syscall_utils.h>


Other related posts: