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