aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--io/bug-ftw4.c1
-rw-r--r--posix/fnmatch.c1
3 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e73a05a..2a30d48 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-11-18 Jakub Jelinek <jakub@redhat.com>
+
+ * io/bug-ftw4.c: Include string.h.
+ * posix/fnmatch.c (mbsinit): Remove define.
+
2003-11-17 Jakub Jelinek <jakub@redhat.com>
* posix/regcomp.c (optimize_utf8): Optimize multi-byte chars as
diff --git a/io/bug-ftw4.c b/io/bug-ftw4.c
index 0a652d3..16aecf6 100644
--- a/io/bug-ftw4.c
+++ b/io/bug-ftw4.c
@@ -22,6 +22,7 @@
#include <ftw.h>
#include <stdlib.h>
#include <stdio.h>
+#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
diff --git a/posix/fnmatch.c b/posix/fnmatch.c
index c521a25..e409ed7 100644
--- a/posix/fnmatch.c
+++ b/posix/fnmatch.c
@@ -59,7 +59,6 @@
# include <shlib-compat.h>
# define CONCAT(a,b) __CONCAT(a,b)
-# define mbsinit __mbsinit
# define mbsrtowcs __mbsrtowcs
# define fnmatch __fnmatch
extern int fnmatch (const char *pattern, const char *string, int flags);