mirror of
https://github.com/php/php-src.git
synced 2026-03-27 09:42:22 +01:00
MFH (fixed a compile failure when --with-xpm-dir is used).
This commit is contained in:
@@ -112,7 +112,7 @@ AC_DEFUN(PHP_GD_XPM,[
|
||||
fi
|
||||
|
||||
for i in include include/X11; do
|
||||
test -f $GD_XPM_DIR/$i/xpm.h && GD_XPM_INC=$GD_XPM_DIR/$i
|
||||
test -f $GD_XPM_DIR/$i/xpm.h && GD_XPM_INC=$GD_XPM_DIR/include
|
||||
done
|
||||
|
||||
if test -z "$GD_XPM_INC"; then
|
||||
|
||||
@@ -20,7 +20,7 @@ gdImageCreateFromXpm (char *filename)
|
||||
|
||||
#else
|
||||
|
||||
#include "xpm.h"
|
||||
#include <X11/xpm.h>
|
||||
#include <string.h>
|
||||
|
||||
gdImagePtr
|
||||
|
||||
Reference in New Issue
Block a user