summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips/bits/local_lim.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/mips/bits/local_lim.h')
-rw-r--r--libc/sysdeps/linux/mips/bits/local_lim.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/mips/bits/local_lim.h b/libc/sysdeps/linux/mips/bits/local_lim.h
index 0a7c83706..2a6782c49 100644
--- a/libc/sysdeps/linux/mips/bits/local_lim.h
+++ b/libc/sysdeps/linux/mips/bits/local_lim.h
@@ -28,9 +28,12 @@
#ifndef LINK_MAX
# define __undef_LINK_MAX
#endif
+/* uClibc likes to have a definition of OPEN_MAX */
+#if 0
#ifndef OPEN_MAX
# define __undef_OPEN_MAX
#endif
+#endif
/* The kernel sources contain a file with all the needed information. */
#include <linux/limits.h>