summaryrefslogtreecommitdiff
path: root/rpmio/rpmlua.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2004-10-09 17:29:22 +0000
committerjbj <devnull@localhost>2004-10-09 17:29:22 +0000
commitb831315e41173e27a4e402c65d318b43558c4fca (patch)
tree4d8b5816ed2c4a51657bb698320cfd62761c29d0 /rpmio/rpmlua.c
parentd8822ba626caea60e6310157c1a180cde16bfe0a (diff)
downloadlibrpm-tizen-b831315e41173e27a4e402c65d318b43558c4fca.tar.gz
librpm-tizen-b831315e41173e27a4e402c65d318b43558c4fca.tar.bz2
librpm-tizen-b831315e41173e27a4e402c65d318b43558c4fca.zip
Splint fiddles.
CVS patchset: 7435 CVS date: 2004/10/09 17:29:22
Diffstat (limited to 'rpmio/rpmlua.c')
-rw-r--r--rpmio/rpmlua.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/rpmio/rpmlua.c b/rpmio/rpmlua.c
index a36d317d8..363216ef0 100644
--- a/rpmio/rpmlua.c
+++ b/rpmio/rpmlua.c
@@ -1,16 +1,18 @@
/*@-bounds -realcompare -sizeoftype -protoparammatch @*/
#include "system.h"
+
+#ifdef WITH_LUA
#include <rpmio.h>
#include <rpmmacro.h>
#include <rpmerr.h>
#include <rpmurl.h>
#include <rpmhook.h>
-#include "../lua/include/lua.h"
-#include "../lua/include/lualib.h"
-#include "../lua/include/lauxlib.h"
-#include "../lua/local/lposix.h"
-#include "../lua/local/lrexlib.h"
+#include <lua.h>
+#include <lualib.h>
+#include <lauxlib.h>
+#include <lposix.h>
+#include <lrexlib.h>
#include <unistd.h>
#include <assert.h>
@@ -838,5 +840,6 @@ static int luaopen_rpm(lua_State *L)
luaL_openlib(L, "rpm", rpmlib, 0);
return 0;
}
+#endif /* WITH_LUA */
/*@=bounds =realcompare =sizeoftype =protoparammatch @*/