diff src/s/freebsd.h @ 179:9ad43877534d r20-3b16

Import from CVS: tag r20-3b16
author cvs
date Mon, 13 Aug 2007 09:52:19 +0200
parents 6075d714658b
children 92f8ad5d0d3f
line wrap: on
line diff
--- a/src/s/freebsd.h	Mon Aug 13 09:51:18 2007 +0200
+++ b/src/s/freebsd.h	Mon Aug 13 09:52:19 2007 +0200
@@ -35,8 +35,10 @@
 
 /* Kludge to work around setlocale(LC_ALL,...) not working after 01/1997 */
 #if __FreeBSD_version >= 199701
+#ifndef NOT_C_CODE
 #include <X11/Xlocale.h>
 #define setlocale(locale_category, locale_spec) setlocale(LC_CTYPE, locale_spec)
+#endif /* C code */
 #endif
 
 #define LIBS_TERMCAP "-ltermcap"