From 92e99e25068280e53cb5eef15e4f45f188926974 Mon Sep 17 00:00:00 2001 From: andersen Date: Fri, 23 Feb 2001 01:58:18 +0000 Subject: Make utility.c only define query_module when BB_FEATURE_NEW_MODULE_INTERFACE is enabled. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1896 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utility.c b/utility.c index f96cab5b0..9ee23c1ab 100644 --- a/utility.c +++ b/utility.c @@ -200,7 +200,8 @@ extern _syscall5(int, mount, const char *, special_file, const char *, dir, const char *, fstype, unsigned long int, rwflag, const void *, data); #endif -#if defined BB_INSMOD || defined BB_LSMOD +#if defined BB_FEATURE_NEW_MODULE_INTERFACE && + (defined BB_INSMOD || defined BB_LSMOD) #ifndef __NR_query_module static const int __NR_query_module = 167; #endif -- cgit v1.2.3-55-g6feb