From: Gale Andrews <gale@au...> - 2013-12-06 14:13:02
Forwarded from feedback@:
> OpenBSD is in the process of removing some ancient compatibility
> APIs and is deleting the <sys/timeb.h> header, so please don't include
> it in lib-src/libnyquist/nyquist/cmt/midifns.c.
> Now, before you break out the #ifdef's, I'd like to explain that
> sys/timeb.h only contains declarations for ftime() and struct timeb.
> These APIs were obsoleted by gettimeofday() and struct timeval some
> 30 years ago. unix/switches.h only defines HAS_GETTIMEOFDAY, so
> the ftime() code in midifns.c isn't used and <sys/timeb.h> is never
> needed. Let's just remove that line.
> --- lib-src/libnyquist/nyquist/cmt/midifns.c.orig 2013-10-19 09:31:45.000000000 +0200
> +++ lib-src/libnyquist/nyquist/cmt/midifns.c 2013-12-05 23:01:15.000000000 +0100
> @@ -118,7 +118,6 @@
> #ifdef UNIX
> #ifndef UNIX_IRIX
> #include "sys/time.h"
> -#include "sys/timeb.h"
> #include "cmtio.h"
> #include <sys/types.h>
Get latest updates about Open Source Projects, Conferences and News.