From owner-freebsd-questions Mon Jan 29 06:50:34 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA06293 for questions-outgoing; Mon, 29 Jan 1996 06:50:34 -0800 (PST) Received: from csmd.cs.uni-magdeburg.de (csmd.cs.uni-magdeburg.de [141.44.22.100]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id GAA06245 for ; Mon, 29 Jan 1996 06:49:55 -0800 (PST) Message-Id: <199601291449.GAA06245@freefall.freebsd.org> Received: from csmd39.cs.uni-magdeburg.de by csmd.cs.uni-magdeburg.de with SMTP (1.38.193.5/16.2) id AA26244; Mon, 29 Jan 1996 15:46:13 +0100 Received: by csmd39.cs.uni-magdeburg.de (1.37.109.11/16.2) id AA010336772; Mon, 29 Jan 1996 15:46:12 +0100 From: Roland Jesse Subject: conflicting types for `wchar_t' To: freebsd-questions@freebsd.org Date: Mon, 29 Jan 1996 15:46:12 +0100 (MEZ) X-Mailer: ELM [version 2.4 PL24 ME6] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: owner-questions@freebsd.org Precedence: bulk Subject: conflicting types for `wchar_t' Newsgroups: comp.unix.bsd.freebsd.misc Organization: Univ. of Magdeburg, CS Dept, Germany Summary: Keywords: X-Newsreader: TIN [version 1.2 PL2] How may I avoid the error that `wchar_t' is previous declared when in /usr/X11R6/include/X11/Xlib.h is this line: typedef unsigned long wchar_t; and in /usr/include/stdlib.h this one: typedef _BSD_WCHAR_T_ wchar_t; ??? Both header files are needed. So how to avoid this error? (BTW: same procedure with `sys_errlist'...) Thanks for any help. -- Roland (rj,-) Jesse, stud.rer.nat. et phil. URL: http://www.cs.uni-magdeburg.de/~jesse/ E-Mail: jesse@csmd.cs.uni-magdeburg.de - pgp encrypted mail preferred -