Fixed Mac CodeWarrior compilation (there's no <sys/types.h>).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ebacd1fe81
commit
04fdd8736a
@ -38,9 +38,12 @@
|
||||
#include "wx/intl.h"
|
||||
#endif //WX_PRECOMP
|
||||
|
||||
// FreeBSD & Watcom require this, it probably doesn't hurt for others
|
||||
// FreeBSD, Watcom and DMars require this, CW doesn't have nor need it.
|
||||
// Others also don't seem to need it. If you have an error related to
|
||||
// (not) including <sys/types.h> please report details to
|
||||
// wx-dev@lists.wxwindows.org
|
||||
#if defined(__UNIX__) || defined(__WATCOMC__) || defined(__DIGITALMARS__)
|
||||
#include <sys/types.h>
|
||||
# include <sys/types.h>
|
||||
#endif
|
||||
|
||||
#ifndef __WXWINCE__
|
||||
|
@ -29,7 +29,15 @@
|
||||
*/
|
||||
|
||||
/* headers if any */
|
||||
#include <sys/types.h>
|
||||
|
||||
// FreeBSD, Watcom and DMars require this, CW doesn't have nor need it.
|
||||
// Others also don't seem to need it. If you have an error related to
|
||||
// (not) including <sys/types.h> please report details to
|
||||
// wx-dev@lists.wxwindows.org
|
||||
#if defined(__UNIX__) || defined(__WATCOMC__) || defined(__DIGITALMARS__)
|
||||
# include <sys/types.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
|
@ -39,7 +39,14 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
// FreeBSD, Watcom and DMars require this, CW doesn't have nor need it.
|
||||
// Others also don't seem to need it. If you have an error related to
|
||||
// (not) including <sys/types.h> please report details to
|
||||
// wx-dev@lists.wxwindows.org
|
||||
#if defined(__UNIX__) || defined(__WATCOMC__) || defined(__DIGITALMARS__)
|
||||
# include <sys/types.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user