patch for better #includes in XPM src from Michal Vyskocil
svn: r12876
This commit is contained in:
parent
ed7713751a
commit
1d85f9ff3c
|
@ -36,7 +36,7 @@
|
||||||
\*****************************************************************************/
|
\*****************************************************************************/
|
||||||
|
|
||||||
#include "xpmP.h"
|
#include "xpmP.h"
|
||||||
#if defined(SYSV) || defined(SVR4) || defined(VMS)
|
#if defined(SYSV) || defined(SVR4) || defined(VMS) || defined(__GNUC__)
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#else
|
#else
|
||||||
#include <strings.h>
|
#include <strings.h>
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
\*****************************************************************************/
|
\*****************************************************************************/
|
||||||
|
|
||||||
#include "xpmP.h"
|
#include "xpmP.h"
|
||||||
#if defined(SYSV) || defined(SVR4) || defined(VMS)
|
#if defined(SYSV) || defined(SVR4) || defined(VMS) || defined(__GNUC__)
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#else
|
#else
|
||||||
#include <strings.h>
|
#include <strings.h>
|
||||||
|
|
|
@ -33,6 +33,11 @@
|
||||||
\*****************************************************************************/
|
\*****************************************************************************/
|
||||||
|
|
||||||
#include "xpmP.h"
|
#include "xpmP.h"
|
||||||
|
#if defined(SYSV) || defined(SVR4) || defined(VMS) || defined(__GNUC__)
|
||||||
|
#include <string.h>
|
||||||
|
#else
|
||||||
|
#include <strings.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
int
|
int
|
||||||
XpmWriteFileFromBuffer(filename, buffer)
|
XpmWriteFileFromBuffer(filename, buffer)
|
||||||
|
|
|
@ -33,6 +33,11 @@
|
||||||
\*****************************************************************************/
|
\*****************************************************************************/
|
||||||
|
|
||||||
#include "xpmP.h"
|
#include "xpmP.h"
|
||||||
|
#if defined(SYSV) || defined(SVR4) || defined(VMS) || defined(__GNUC__)
|
||||||
|
#include <string.h>
|
||||||
|
#else
|
||||||
|
#include <strings.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
LFUNC(WriteFile, int, (FILE *file, XpmImage *image, char *name,
|
LFUNC(WriteFile, int, (FILE *file, XpmImage *image, char *name,
|
||||||
XpmInfo *info));
|
XpmInfo *info));
|
||||||
|
|
|
@ -40,6 +40,11 @@
|
||||||
|
|
||||||
#include "xpmP.h"
|
#include "xpmP.h"
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
#if defined(SYSV) || defined(SVR4) || defined(VMS) || defined(__GNUC__)
|
||||||
|
#include <string.h>
|
||||||
|
#else
|
||||||
|
#include <strings.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
LFUNC(xpmVisualType, int, (Visual *visual));
|
LFUNC(xpmVisualType, int, (Visual *visual));
|
||||||
|
|
||||||
|
|
|
@ -39,6 +39,11 @@ static char *RCS_Version = "$XpmVersion: 3.4g $";
|
||||||
|
|
||||||
#include "xpmP.h"
|
#include "xpmP.h"
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
#if defined(SYSV) || defined(SVR4) || defined(VMS) || defined(__GNUC__)
|
||||||
|
#include <string.h>
|
||||||
|
#else
|
||||||
|
#include <strings.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
LFUNC(ParseComment, int, (xpmData * mdata));
|
LFUNC(ParseComment, int, (xpmData * mdata));
|
||||||
|
|
|
@ -34,6 +34,11 @@
|
||||||
\*****************************************************************************/
|
\*****************************************************************************/
|
||||||
|
|
||||||
#include "xpmP.h"
|
#include "xpmP.h"
|
||||||
|
#if defined(SYSV) || defined(SVR4) || defined(VMS) || defined(__GNUC__)
|
||||||
|
#include <string.h>
|
||||||
|
#else
|
||||||
|
#include <strings.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
LFUNC(AtomMake, xpmHashAtom, (char *name, void *data));
|
LFUNC(AtomMake, xpmHashAtom, (char *name, void *data));
|
||||||
LFUNC(HashTableGrows, int, (xpmHashTable * table));
|
LFUNC(HashTableGrows, int, (xpmHashTable * table));
|
||||||
|
|
|
@ -40,6 +40,11 @@
|
||||||
|
|
||||||
#include "xpmP.h"
|
#include "xpmP.h"
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
#if defined(SYSV) || defined(SVR4) || defined(VMS) || defined(__GNUC__)
|
||||||
|
#include <string.h>
|
||||||
|
#else
|
||||||
|
#include <strings.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
LFUNC(ParseValues, int, (xpmData *data, unsigned int *width,
|
LFUNC(ParseValues, int, (xpmData *data, unsigned int *width,
|
||||||
unsigned int *height, unsigned int *ncolors,
|
unsigned int *height, unsigned int *ncolors,
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
|
|
||||||
#include "xpmP.h"
|
#include "xpmP.h"
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#if defined(SYSV) || defined(SVR4) || defined(VMS)
|
#if defined(SYSV) || defined(SVR4) || defined(VMS) || defined(__GNUC__)
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#else
|
#else
|
||||||
#include <strings.h>
|
#include <strings.h>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user