summaryrefslogtreecommitdiff
path: root/libiberty/strncmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty/strncmp.c')
-rw-r--r--libiberty/strncmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/strncmp.c b/libiberty/strncmp.c
index 819cea6cb5..ad87e1fde8 100644
--- a/libiberty/strncmp.c
+++ b/libiberty/strncmp.c
@@ -13,7 +13,7 @@ Compares the first @var{n} bytes of two strings, returning a value as
*/
#include <ansidecl.h>
-#ifdef __STDC__
+#ifdef ANSI_PROTOTYPES
#include <stddef.h>
#else
#define size_t unsigned long