about summary refs log tree commit diff
path: root/sysdeps/generic/memcopy.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/memcopy.h')
-rw-r--r--sysdeps/generic/memcopy.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/generic/memcopy.h b/sysdeps/generic/memcopy.h
index 0b09ca330c..a2d37a1cd8 100644
--- a/sysdeps/generic/memcopy.h
+++ b/sysdeps/generic/memcopy.h
@@ -20,6 +20,8 @@
 #ifndef _MEMCOPY_H
 #define _MEMCOPY_H	1
 
+#include <features.h>
+
 /* The strategy of the memory functions is:
 
      1. Copy bytes until the destination pointer is aligned.
@@ -38,7 +40,6 @@
    exhaustive in the sense that I tried all alignment and length
    combinations, with and without overlap.  */
 
-#include <sys/cdefs.h>
 #include <endian.h>
 #include <pagecopy.h>