diff options
author | jbj <devnull@localhost> | 2004-10-09 17:29:22 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2004-10-09 17:29:22 +0000 |
commit | b831315e41173e27a4e402c65d318b43558c4fca (patch) | |
tree | 4d8b5816ed2c4a51657bb698320cfd62761c29d0 /rpmio/rpmlua.c | |
parent | d8822ba626caea60e6310157c1a180cde16bfe0a (diff) | |
download | librpm-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.c | 13 |
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 @*/ |