diff options
Diffstat (limited to 'graphics/xv/patches/patch-af')
-rw-r--r-- | graphics/xv/patches/patch-af | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/graphics/xv/patches/patch-af b/graphics/xv/patches/patch-af index 30b079f6d98..4b407d7a75a 100644 --- a/graphics/xv/patches/patch-af +++ b/graphics/xv/patches/patch-af @@ -1,4 +1,4 @@ -$NetBSD: patch-af,v 1.3 2000/01/04 16:55:33 bouyer Exp $ +$NetBSD: patch-af,v 1.4 2004/08/22 08:02:30 minskim Exp $ --- xv.h.orig Tue Jan 4 17:12:42 2000 +++ xv.h Tue Jan 4 17:13:38 2000 @@ -22,3 +22,15 @@ $NetBSD: patch-af,v 1.3 2000/01/04 16:55:33 bouyer Exp $ extern char *sys_errlist[]; /* this too... */ # endif #endif +@@ -134,7 +134,11 @@ + + /* not everyone has the strerror() function, or so I'm told */ + #ifndef VMS ++#if defined(__INTERIX) ++# define ERRSTR(x) strerror(x) ++#else + # define ERRSTR(x) sys_errlist[x] ++#endif + #else + # define ERRSTR(x) strerror(x, vaxc$errno) + #endif |