xref: /netbsd-src/external/gpl2/gettext/dist/gnulib-local/lib/strerror.c.diff (revision 946379e7b37692fc43f68eb0d1c10daa0a7f3b6c)
1*** gnulib/lib/strerror.c	2005-09-19 19:28:15.000000000 +0200
2--- srclib/strerror.c	2005-10-10 13:00:57.000000000 +0200
3***************
4*** 21,26 ****
5--- 21,28 ----
6  # include <config.h>
7  #endif
8
9+ #if !HAVE_STRERROR
10+
11  #include <limits.h>
12
13  /* Don't include <stdio.h>, since it may or may not declare
14***************
15*** 47,49 ****
16--- 49,59 ----
17    else
18      return sys_errlist[n];
19  }
20+
21+ #else
22+
23+ /* This declaration is solely to ensure that after preprocessing
24+    this file is never empty.  */
25+ typedef int dummy;
26+
27+ #endif
28