diff options
Diffstat (limited to 'libXpm')
-rw-r--r-- | libXpm/src/RdFToBuf.c | 1 | ||||
-rw-r--r-- | libXpm/src/RdFToI.c | 1 | ||||
-rw-r--r-- | libXpm/src/config.h | 3 | ||||
-rw-r--r-- | libXpm/src/makefile | 34 |
4 files changed, 39 insertions, 0 deletions
diff --git a/libXpm/src/RdFToBuf.c b/libXpm/src/RdFToBuf.c index b719960af..d142750de 100644 --- a/libXpm/src/RdFToBuf.c +++ b/libXpm/src/RdFToBuf.c @@ -52,6 +52,7 @@ #endif #if defined(FOR_MSW) || defined(WIN32) #include <io.h> +typedef long off_t; #define stat _stat #define fstat _fstat #define fdopen _fdopen diff --git a/libXpm/src/RdFToI.c b/libXpm/src/RdFToI.c index bc05fe624..aa44f8e08 100644 --- a/libXpm/src/RdFToI.c +++ b/libXpm/src/RdFToI.c @@ -44,6 +44,7 @@ #include <errno.h> #include <sys/types.h> #include <sys/wait.h> +typedef int pid_t; #else #ifdef FOR_MSW #include <fcntl.h> diff --git a/libXpm/src/config.h b/libXpm/src/config.h new file mode 100644 index 000000000..c22e05936 --- /dev/null +++ b/libXpm/src/config.h @@ -0,0 +1,3 @@ +#include <unistd.h> + +#define NO_ZPIPE diff --git a/libXpm/src/makefile b/libXpm/src/makefile new file mode 100644 index 000000000..cfd21c66b --- /dev/null +++ b/libXpm/src/makefile @@ -0,0 +1,34 @@ +LIBRARY=libXpm + +INCLUDES += ..\include\X11 + +CSRCS = \ + Attrib.c \ + CrBufFrI.c \ + CrBufFrP.c \ + CrDatFrI.c \ + CrDatFrP.c \ + CrIFrBuf.c \ + CrIFrDat.c \ + CrIFrP.c \ + CrPFrBuf.c \ + CrPFrDat.c \ + CrPFrI.c \ + Image.c \ + Info.c \ + RdFToBuf.c \ + RdFToDat.c \ + RdFToI.c \ + RdFToP.c \ + WrFFrBuf.c \ + WrFFrDat.c \ + WrFFrI.c \ + WrFFrP.c \ + create.c \ + data.c \ + hashtab.c \ + misc.c \ + parse.c \ + rgb.c \ + scan.c + |