summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2003-06-08 18:29:55 +0000
committerZeev Suraski <zeev@php.net>2003-06-08 18:29:55 +0000
commitfa78f2b8ebbefd21e212c2162b1ccf3945772508 (patch)
tree6ce3f4fd0fafa2c76bc39eea29baa496d3407435 /ext
parentce40bc9073433057413c7c583fff0d8cd540c3df (diff)
downloadphp-git-fa78f2b8ebbefd21e212c2162b1ccf3945772508.tar.gz
XMLless build fix
Diffstat (limited to 'ext')
-rw-r--r--ext/xml/expat_compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/xml/expat_compat.h b/ext/xml/expat_compat.h
index f0342ca0db..789168bfad 100644
--- a/ext/xml/expat_compat.h
+++ b/ext/xml/expat_compat.h
@@ -135,7 +135,7 @@ int XML_GetCurrentByteIndex(XML_Parser);
const XML_Char *XML_ExpatVersion(void);
void XML_ParserFree(XML_Parser);
-#else
+#elif defined(HAVE_LIBEXPAT)
#include <expat.h>
#endif /* HAVE_LIBEXPAT */