summaryrefslogtreecommitdiff
path: root/extra/locale/gen_wc8bit.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-08-23 15:26:46 +0000
committerMike Frysinger <vapier@gentoo.org>2006-08-23 15:26:46 +0000
commit75f7c634c337f1912a3f24d646b7f6ece46b2ad6 (patch)
treefca2045add00caf73073cc674ad41e063f32e9c6 /extra/locale/gen_wc8bit.c
parent3fdaf2bbc7457608cacd9ffe460d212014134cae (diff)
fixes from psm so we can pull in uClibc headers properly
Diffstat (limited to 'extra/locale/gen_wc8bit.c')
-rw-r--r--extra/locale/gen_wc8bit.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/extra/locale/gen_wc8bit.c b/extra/locale/gen_wc8bit.c
index cf72a180c..429421616 100644
--- a/extra/locale/gen_wc8bit.c
+++ b/extra/locale/gen_wc8bit.c
@@ -1,3 +1,9 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -12,7 +18,7 @@
#ifndef _WCTYPE_H
#define _WCTYPE_H
#endif
-#include <bits/uClibc_ctype.h>
+#include UCLIBC_CTYPE_HEADER
/* #define CTYPE_PACKED */