--- a/misc/libphyslayer/hwpacksmounter.h Wed Apr 30 14:17:06 2014 +0400
+++ b/misc/libphyslayer/hwpacksmounter.h Wed Apr 30 15:26:50 2014 +0400
@@ -5,8 +5,10 @@
#include "physfscompat.h"
#ifndef PAS2C
+#ifndef QT_VERSION
#include "lua.h"
#endif
+#endif
#ifdef __cplusplus
extern "C" {
@@ -15,7 +17,9 @@
PHYSFS_DECL void hedgewarsMountPackages();
PHYSFS_DECL void hedgewarsMountPackage(char * fileName);
+#ifndef QT_VERSION
PHYSFS_DECL const char * physfsReader(lua_State *L, PHYSFS_File *f, size_t *size);
+#endif
PHYSFS_DECL void physfsReaderSetBuffer(void *buffer);
#ifdef __cplusplus