#include <ctype.h>
#include <stdlib.h>
#include <limits.h>
+#include <stdarg.h>
#include <sys/ioctl.h>
#include <sys/utsname.h> /* for uname(2) */
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