Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Dec 2019 13:29:34 +0000 (UTC)
From:      Chris Rees <crees@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r520256 - head/audio/oss/files
Message-ID:  <201912161329.xBGDTYLo005898@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: crees
Date: Mon Dec 16 13:29:34 2019
New Revision: 520256
URL: https://svnweb.freebsd.org/changeset/ports/520256

Log:
  Fix build on head- missing headers resulted in implicit incompatible
  type conversions

Modified:
  head/audio/oss/files/patch-kernel_OS_FreeBSD_os__freebsd.c

Modified: head/audio/oss/files/patch-kernel_OS_FreeBSD_os__freebsd.c
==============================================================================
--- head/audio/oss/files/patch-kernel_OS_FreeBSD_os__freebsd.c	Mon Dec 16 13:16:07 2019	(r520255)
+++ head/audio/oss/files/patch-kernel_OS_FreeBSD_os__freebsd.c	Mon Dec 16 13:29:34 2019	(r520256)
@@ -1,6 +1,23 @@
 --- kernel/OS/FreeBSD/os_freebsd.c.orig	2019-03-06 07:52:21 UTC
 +++ kernel/OS/FreeBSD/os_freebsd.c
-@@ -920,15 +920,9 @@ oss_poll (struct cdev *bsd_dev, int events, struct thr
+@@ -15,6 +15,8 @@
+ #include "oss_config.h"
+ #include "midi_core.h"
+ #include <oss_pci.h>
++#include <sys/param.h>
++#include <sys/types.h>
+ #include <sys/conf.h>
+ #include <sys/module.h>
+ #include <sys/proc.h>
+@@ -25,6 +28,7 @@
+ #include <sys/poll.h>
+ #include <sys/param.h>
+ #include <sys/filio.h>
++#include <sys/systm.h>
+ 
+ /* Function prototypes */
+ static d_open_t oss_open;
+@@ -920,15 +923,9 @@ oss_poll (struct cdev *bsd_dev, int events, struct thr
    return ev.revents;
  }
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912161329.xBGDTYLo005898>