summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/sysfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/sysfs.c')
-rw-r--r--libc/sysdeps/linux/common/sysfs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/sysfs.c b/libc/sysdeps/linux/common/sysfs.c
index 5099d7bb0..a4292f768 100644
--- a/libc/sysdeps/linux/common/sysfs.c
+++ b/libc/sysdeps/linux/common/sysfs.c
@@ -9,8 +9,9 @@
/* libc isn't really supposed to export this */
#if 0
-
#include <sys/syscall.h>
-_syscall3(int, sysfs, int, option, unsigned int, index, char, addr);
+#if defined __USE_SVID
+_syscall3(int, sysfs, int, option, unsigned int, index, char, addr);
+#endif
#endif