From d36bc81bb4432f78ce5b332780df2a33e56a678c Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Mon, 31 Oct 2011 23:13:09 +0100 Subject: stubs: handle linux module functions Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/common/stubs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libc/sysdeps/linux/common/stubs.c') diff --git a/libc/sysdeps/linux/common/stubs.c b/libc/sysdeps/linux/common/stubs.c index 2f170ead9..10d6db15d 100644 --- a/libc/sysdeps/linux/common/stubs.c +++ b/libc/sysdeps/linux/common/stubs.c @@ -133,11 +133,11 @@ make_stub(capset) make_stub(connect) #endif -#ifndef __NR_create_module +#if !defined __NR_create_module && defined __UCLIBC_LINUX_MODULE_24__ make_stub(create_module) #endif -#ifndef __NR_delete_module +#if !defined __NR_delete_module && defined __UCLIBC_LINUX_MODULE_26__ make_stub(delete_module) #endif @@ -205,7 +205,7 @@ make_stub(getsockopt) make_stub(getxattr) #endif -#ifndef __NR_init_module +#if !defined __NR_init_module && defined __UCLIBC_LINUX_MODULE_26__ make_stub(init_module) #endif @@ -293,7 +293,7 @@ make_stub(readahead) make_stub(reboot) #endif -#ifndef __NR_query_module +#if !defined __NR_query_module && defined __UCLIBC_LINUX_MODULE_24__ make_stub(query_module) #endif -- cgit v1.2.3