summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sparc/bits
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-05-04 17:03:47 +0000
committerEric Andersen <andersen@codepoet.org>2001-05-04 17:03:47 +0000
commitae9bb92ccc2b4a9a75b09c59e1351a78e6a6da53 (patch)
tree3b9f55f665059c5fc5c29d88d99be219e2411ecd /libc/sysdeps/linux/sparc/bits
parent84a9d87e2d6b237ff10990338ce76f050e1c3e2a (diff)
Initial sparc port, thanks to Mathew Bosworth <mbosworth@metaflow.com>,
who sent this to me a month ago and I forgot to check it in. Oops. Better late then never. -Erik
Diffstat (limited to 'libc/sysdeps/linux/sparc/bits')
-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. */