diff options
author | Jason Rumney <jasonr@gnu.org> | 2007-08-06 12:52:52 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-08-06 12:52:52 -0700 |
commit | 43dfc6be8128139888426d8c709aa78efc207953 (patch) | |
tree | 4f0f6f9f6ccb5d3e1db56ebebf21e3faaa37b81d /src/XpmI.h | |
parent | 290f0b9115428dab0cbf2880d154468c557b3e7e (diff) |
X.Org Bug #11863: Build libXpm on MS Windows (with MinGW)
* src/XpmI.h [FOR_MSW]: Include simx.h instead of real X headers.
* src/simx.h (_XFUNCPROTOBEGIN, _XFUNCPROTOEND, NO_ZPIPE): Define.
(XAllocColor): Fix arg list in prototype.
(bzero, close, fdopen, index, rindex, open, strdup, O_RDONLY):
Map to W32 equivalents.
* src/RdFToI.c [FOR_MSW]: Include fcntl.h.
Diffstat (limited to 'src/XpmI.h')
-rw-r--r-- | src/XpmI.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -58,9 +58,13 @@ extern FILE *popen(); #endif +#ifdef FOR_MSW +#include "simx.h" +#else #include <X11/Xos.h> #include <X11/Xfuncs.h> #include <X11/Xmd.h> +#endif #ifdef VMS #include <unixio.h> |