This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
[PATCH 12/14] tile: add include <features.h> to <sys/dataplane.h>
- From: Chris Metcalf <cmetcalf at tilera dot com>
- To: <libc-ports at sourceware dot org>
- Date: Fri, 11 May 2012 18:10:00 -0400
- Subject: [PATCH 12/14] tile: add include <features.h> to <sys/dataplane.h>
- References: <4FB161CE.6070905@tilera.com>
We were using __BEGIN_DECLS without <features.h> and it just happened
to mostly work, but of course we should include it here.
---
ChangeLog.tile | 4 ++++
sysdeps/unix/sysv/linux/tile/sys/dataplane.h | 4 +++-
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/ChangeLog.tile b/ChangeLog.tile
index ae048dd..6bde168 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 cae17b0..fcea96e 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>
--
1.6.5.2