pkgsrc/audio/icecast1/patches/patch-aj
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
320 B
Text

$NetBSD: patch-aj,v 1.1 2005/11/11 17:21:11 joerg Exp $
--- src/definitions.h.orig 2005-11-11 17:03:21.000000000 +0000
+++ src/definitions.h
@@ -31,7 +31,7 @@
# define __USE_BSD
#endif
-#ifndef __NetBSD__
+#if !defined(__NetBSD__) && !defined(__DragonFly__)
#ifndef __EXTENSIONS__
# define __EXTENSIONS__
#endif