summaryrefslogtreecommitdiffstats
path: root/newlib/libc/sys/linux/mntent.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/linux/mntent.c')
-rw-r--r--newlib/libc/sys/linux/mntent.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/newlib/libc/sys/linux/mntent.c b/newlib/libc/sys/linux/mntent.c
index ecd223f50..0101b94e4 100644
--- a/newlib/libc/sys/linux/mntent.c
+++ b/newlib/libc/sys/linux/mntent.c
@@ -17,9 +17,12 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
+#include <features.h>
#include <mntent.h>
#include <stdlib.h>
#include <libc-symbols.h>
+#define _LIBC 1
+#define NOT_IN_libc 1
#include <bits/libc-lock.h>
/* We don't want to allocate the static buffer all the time since it