summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/audio_out/audio_oss_out.c4
-rw-r--r--src/video_out/video_out_syncfb.c5
2 files changed, 7 insertions, 2 deletions
diff --git a/src/audio_out/audio_oss_out.c b/src/audio_out/audio_oss_out.c
index aaad9abc2..f3b41b916 100644
--- a/src/audio_out/audio_oss_out.c
+++ b/src/audio_out/audio_oss_out.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: audio_oss_out.c,v 1.64 2002/05/21 20:36:06 miguelfreitas Exp $
+ * $Id: audio_oss_out.c,v 1.65 2002/05/28 10:40:16 heikos Exp $
*
* 20-8-2001 First implementation of Audio sync and Audio driver separation.
* Copyright (C) 2001 James Courtier-Dutton James@superbug.demon.co.uk
@@ -51,6 +51,8 @@
#elif defined (__FreeBSD__)
# if __FreeBSD__ < 4
# include <machine/soundcard.h>
+# else
+# include <sys/soundcard.h>
# endif
#else
# if defined(__linux__)
diff --git a/src/video_out/video_out_syncfb.c b/src/video_out/video_out_syncfb.c
index dabe55d8a..2fddb1618 100644
--- a/src/video_out/video_out_syncfb.c
+++ b/src/video_out/video_out_syncfb.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_syncfb.c,v 1.69 2002/05/04 21:30:15 matt2000 Exp $
+ * $Id: video_out_syncfb.c,v 1.70 2002/05/28 10:43:45 heikos Exp $
*
* video_out_syncfb.c, SyncFB (for Matrox G200/G400 cards) interface for xine
*
@@ -41,6 +41,9 @@
#endif
#include <sys/ioctl.h>
+#if defined (__FreeBSD__)
+#include <sys/types.h>
+#endif
#include <sys/mman.h>
#include <math.h>
#include <fcntl.h>