Author: aurel32
Status: in BTS

--- gtick-0.3.6.orig/src/dsp.c
+++ gtick-0.3.6/src/dsp.c
@@ -41,8 +41,8 @@
 #endif
 
 /* OSS headers */
-#ifdef __FreeBSD__
-#include <machine/soundcard.h>
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+#include <sys/soundcard.h>
 #else
 #include <linux/soundcard.h>
 #endif
