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:
@@ -38,9 +38,12 @@
|
|||||||
#include "wx/intl.h"
|
#include "wx/intl.h"
|
||||||
#endif //WX_PRECOMP
|
#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__)
|
#if defined(__UNIX__) || defined(__WATCOMC__) || defined(__DIGITALMARS__)
|
||||||
#include <sys/types.h>
|
# include <sys/types.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef __WXWINCE__
|
#ifndef __WXWINCE__
|
||||||
|
@@ -29,7 +29,15 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/* headers if any */
|
/* 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 <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
@@ -39,7 +39,14 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#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 <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user