NEWS.stable: log cherry-pick [90a660c]->[e916d00] autoupdate
[gnulib.git] / lib / perror.c
index 6e4aab7..af4b56c 100644 (file)
 #include <stdlib.h>
 #include <string.h>
 
+#include "strerror-override.h"
+
 /* Use the system functions, not the gnulib overrides in this file.  */
 #undef fprintf
 
 void
 perror (const char *string)
 {
-  char stackbuf[256];
+  char stackbuf[STACKBUF_LEN];
   int ret;
 
   /* Our implementation guarantees that this will be a non-empty