summaryrefslogtreecommitdiff
path: root/include/X11/Xlocale.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/X11/Xlocale.h')
-rw-r--r--include/X11/Xlocale.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/include/X11/Xlocale.h b/include/X11/Xlocale.h
index 77702b1b..61d2f7a8 100644
--- a/include/X11/Xlocale.h
+++ b/include/X11/Xlocale.h
@@ -26,6 +26,7 @@ other dealings in this Software without prior written authorization
from The Open Group.
*/
+/* $XFree86: xc/lib/X11/Xlocale.h,v 1.4 2001/12/14 19:54:09 dawes Exp $ */
#ifndef _XLOCALE_H_
#define _XLOCALE_H_
@@ -34,12 +35,6 @@ from The Open Group.
#include <X11/Xosdefs.h>
#ifndef X_LOCALE
-#ifdef X_NOT_STDC_ENV
-#define X_LOCALE
-#endif
-#endif
-
-#ifndef X_LOCALE
#include <locale.h>
#else
@@ -52,18 +47,14 @@ from The Open Group.
_XFUNCPROTOBEGIN
extern char *_Xsetlocale(
-#if NeedFunctionPrototypes
int /* category */,
_Xconst char* /* name */
-#endif
);
_XFUNCPROTOEND
#define setlocale _Xsetlocale
-#ifndef NULL
-#define NULL 0
-#endif
+#include <stddef.h>
#endif /* X_LOCALE */