aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--wctype/wctype.h6
2 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 9e437b8a6c..b2b5ef0a6d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2000-09-15 Ulrich Drepper <drepper@redhat.com>
+ * wctype/wctype.h: Always include <bits/types.h>.
+ Reported by Jim Meyering <meyering@ascend.com>.
+
* elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now.
* elf/dl-support.c: Likewise.
diff --git a/wctype/wctype.h b/wctype/wctype.h
index a6b351dee9..a89eae069d 100644
--- a/wctype/wctype.h
+++ b/wctype/wctype.h
@@ -23,12 +23,12 @@
#ifndef _WCTYPE_H
+#include <features.h>
+#include <bits/types.h>
+
#ifndef __need_iswxxx
# define _WCTYPE_H 1
-# include <features.h>
-# include <bits/types.h>
-
/* We try to get wint_t from <stddef.h>, but not all GCC versions define it
there. So define it ourselves if it remains undefined. */
# define __need_wint_t