diff options
author | joerg <joerg@pkgsrc.org> | 2005-10-09 15:04:14 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2005-10-09 15:04:14 +0000 |
commit | a9f3cb9d0a7a85ebedafa44b38f11d1da97bc175 (patch) | |
tree | a18f4c01411ad5713c44c222bae59511a029ae26 /audio/xwave/patches | |
parent | eaec4291dabc5bed3c67a70c37cf8ddb9059baf3 (diff) | |
download | pkgsrc-a9f3cb9d0a7a85ebedafa44b38f11d1da97bc175.tar.gz |
Unlike FreeBSD and DragonFly, NetBSD's sys/errno.h differs from errno.h.
Include the latter to get errno. This was hidden by the nested extern
before.
Diffstat (limited to 'audio/xwave/patches')
-rw-r--r-- | audio/xwave/patches/patch-at | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/audio/xwave/patches/patch-at b/audio/xwave/patches/patch-at index 722913de3f3..42c2a513071 100644 --- a/audio/xwave/patches/patch-at +++ b/audio/xwave/patches/patch-at @@ -1,7 +1,16 @@ -$NetBSD: patch-at,v 1.1 2005/10/03 13:30:20 joerg Exp $ +$NetBSD: patch-at,v 1.2 2005/10/09 15:04:14 joerg Exp $ --- src/misc.c.orig 2005-07-22 18:59:34.000000000 +0000 +++ src/misc.c +@@ -27,7 +27,7 @@ + #include <stdio.h> + #include <dirent.h> + #include <sys/stat.h> +-#include <sys/errno.h> ++#include <errno.h> + #include <X11/Intrinsic.h> /* Intrinsics Definitions */ + #include <X11/StringDefs.h> /* Standard Name-String definitions */ + #include <X11/Shell.h> /* Shell Definitions */ @@ -294,7 +294,6 @@ char *get_wd(void) { static char *name; |