aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2012-05-11 18:10:00 -0400
committerChris Metcalf <cmetcalf@tilera.com>2012-05-14 15:46:13 -0400
commit8927be2b217ad44682efd987e32320ee80c4dbe1 (patch)
treec013cdf39b236fea53839fd739ecb955fc5a1104
parent024bb7b4a22e62faf932a7b9f071322716727d2d (diff)
downloadglibc-8927be2b217ad44682efd987e32320ee80c4dbe1.tar.xz
glibc-8927be2b217ad44682efd987e32320ee80c4dbe1.zip
tile: add include <features.h> to <sys/dataplane.h>
We were using __BEGIN_DECLS without <features.h> and it just happened to mostly work, but of course we should include it here.
-rw-r--r--ChangeLog.tile4
-rw-r--r--sysdeps/unix/sysv/linux/tile/sys/dataplane.h4
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog.tile b/ChangeLog.tile
index ae048ddd34..6bde1689a7 100644
--- a/ChangeLog.tile
+++ b/ChangeLog.tile
@@ -1,5 +1,9 @@
2012-05-12 Chris Metcalf <cmetcalf@tilera.com>
+ * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Add <features.h>.
+
+2012-05-12 Chris Metcalf <cmetcalf@tilera.com>
+
* sysdeps/unix/sysv/linux/tile/nptl/clone.S: Add missing CFI.
2012-05-12 Chris Metcalf <cmetcalf@tilera.com>
diff --git a/sysdeps/unix/sysv/linux/tile/sys/dataplane.h b/sysdeps/unix/sysv/linux/tile/sys/dataplane.h
index cae17b0933..fcea96ed1e 100644
--- a/sysdeps/unix/sysv/linux/tile/sys/dataplane.h
+++ b/sysdeps/unix/sysv/linux/tile/sys/dataplane.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011 Free Software Foundation, Inc.
+/* Copyright (C) 2011-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011.
@@ -19,6 +19,8 @@
#ifndef _SYS_DATAPLANE_H
#define _SYS_DATAPLANE_H 1
+#include <features.h>
+
/* Get the kernel definition for the flag bits. */
#include <asm/dataplane.h>