pkgsrc/audio/icecast1/patches/patch-ai
joerg fd44dda67e Don't define weired underscore macros on DrgaonFly, they break
the system headers. Depend on errno.h to define errno, fix an instance
where errno is used without errno.h Since this is a bug for a threaded
program and icecast at the very least is linked threaded here,
bump the revision.
2005-11-11 17:21:11 +00:00

13 lines
364 B
Text

$NetBSD: patch-ai,v 1.1 2005/11/11 17:21:11 joerg Exp $
--- src/sock.c.orig 2005-11-11 16:59:50.000000000 +0000
+++ src/sock.c
@@ -87,7 +87,7 @@ int deny_severity = LOG_WARNING;
#define read _read
extern int running;
#else
-extern int h_errno, errno, running;
+extern int h_errno, running;
#endif
extern server_info_t info;
extern struct in_addr localaddr;