tile: add include <features.h> to <sys/dataplane.h>
authorChris Metcalf <cmetcalf@tilera.com>
Fri, 11 May 2012 22:10:00 +0000 (18:10 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Mon, 14 May 2012 19:46:13 +0000 (15:46 -0400)
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
sysdeps/unix/sysv/linux/tile/sys/dataplane.h

index ae048dd..6bde168 100644 (file)
@@ -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>
index cae17b0..fcea96e 100644 (file)
@@ -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>