[klibc] [PATCH] dirent and extern define
Erik van Konijnenburg
ekonijn at xs4all.nl
Wed Mar 2 15:08:12 PST 2005
If __extern is used in a header, extern.h is needed to resolve that to extern.
Regards,
Erik
diff -urN klibc-0.202-pristine/include/sys/dirent.h klibc-0.202/include/sys/dirent.h
--- klibc-0.202-pristine/include/sys/dirent.h 2004-06-08 07:32:48.000000000 +0200
+++ klibc-0.202/include/sys/dirent.h 2005-03-02 20:05:45.000000000 +0100
@@ -5,6 +5,7 @@
#ifndef _SYS_DIRENT_H
#define _SYS_DIRENT_H
+#include <klibc/extern.h>
#include <stdint.h>
/* The kernel calls this struct dirent64 */
More information about the klibc
mailing list