aboutsummaryrefslogtreecommitdiff
path: root/wctype/wctype.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-12-29 23:21:21 +0000
committerUlrich Drepper <drepper@redhat.com>2008-12-29 23:21:21 +0000
commit5703f4727380ca751da51a94664689b5e97dc89f (patch)
tree42a7904610946d5219f9d8c9a3e8eba9be1d7aac /wctype/wctype.h
parent0f2ae55cf707947688bd28b55899a148fd3d7646 (diff)
downloadglibc-5703f4727380ca751da51a94664689b5e97dc89f.zip
glibc-5703f4727380ca751da51a94664689b5e97dc89f.tar.gz
glibc-5703f4727380ca751da51a94664689b5e97dc89f.tar.bz2
* wctype/wctype.h: Get wint_t definition directly from <stddef.h>.
* wctype/Makefile (tests): Add bug-wctypeh. * wctype/bug-wctypeh.c: New file.
Diffstat (limited to 'wctype/wctype.h')
-rw-r--r--wctype/wctype.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/wctype/wctype.h b/wctype/wctype.h
index 6032559..c36f0aa 100644
--- a/wctype/wctype.h
+++ b/wctype/wctype.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996-2002, 2005, 2007 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2002, 2005, 2007, 2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -29,9 +29,9 @@
#ifndef __need_iswxxx
# define _WCTYPE_H 1
-/* Get wint_t from <wchar.h>. */
+/* Get wint_t from <stddef.h>. */
# define __need_wint_t
-# include <wchar.h>
+# include <stddef.h>
/* Constant expression of type `wint_t' whose value does not correspond
to any member of the extended character set. */