summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sparc/bits/select.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/sparc/bits/select.h')
-rw-r--r--libc/sysdeps/linux/sparc/bits/select.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/sparc/bits/select.h b/libc/sysdeps/linux/sparc/bits/select.h
index 4513135af..f5a181092 100644
--- a/libc/sysdeps/linux/sparc/bits/select.h
+++ b/libc/sysdeps/linux/sparc/bits/select.h
@@ -20,6 +20,13 @@
# error "Never use <bits/select.h> directly; include <sys/select.h> instead."
#endif
+/* For some reason, this wants to use the definitions from
+ /include/asm/posix_types.h So we have to undef some symbols :
+*/
+#undef __FD_ZERO
+#undef __FD_SET
+#undef __FD_CLR
+#undef __FD_ISSET
/* We don't use `memset' because this would require a prototype and
the array isn't too big. */