$NetBSD: patch-ag,v 1.2 1998/11/05 02:46:09 mycroft Exp $

--- src/config.h.orig	Sat Aug 15 15:16:46 1998
+++ src/config.h	Wed Nov  4 21:27:03 1998
@@ -56,6 +56,30 @@
 #define AUDIO_LINE_IN    2
 #endif /* FreeBSD */
 
+#ifdef __DragonFly__
+#define OSNAME "DragonFly"
+#include <unistd.h>
+#include <stdlib.h>
+#include <sys/soundcard.h>
+#define DIFF_BYTE_ORDER  1
+#define AUDIO_SPEAKER    0
+#define AUDIO_HEADPHONE  1
+#define AUDIO_LINE_OUT   4
+#define AUDIO_MICROPHONE 1
+#define AUDIO_LINE_IN    2
+#endif /* DragonFly */
+
+#ifdef __NetBSD__
+#define OSNAME "NetBSD"
+#define DEFINED_ERRLIST
+#include <sys/stat.h>
+#include <sys/time.h>
+#include <errno.h>
+#include <fcntl.h>
+#include <unistd.h>
+#include <sys/audioio.h>
+#endif
+
 #ifdef SunOS_5
 #define OSNAME "Solaris"
 #include <sys/stat.h>
