: asoundlib.h doesn't #include time.h, which is needed for struct timespec
The following issue has been CLOSED
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=804>
======================================================================
Reported By: yosh
Assigned To:
======================================================================
Project: ALSA - lib Issue ID: 804 Category: general Reproducibility: always Severity: minor Priority: normal Status: closed Resolution: fixed Fixed in Version: ====================================================================== Date Submitted: 01-10-2005 22:39 CET Last Modified: 02-14-2005 19:31 CET
======================================================================
Summary: asoundlib.h doesn't #include time.h, which is needed
for struct timespec
Description:
http://bugzilla.gnome.org/show_bug.cgi?id=163593
This was a build failure from including asoundlib.h, and struct timespec wasn't defined, which is needed for the snd_htimestamp_t typedef. Simple fix is to add an #include <time.h> in asoundlib.h.
======================================================================
----------------------------------------------------------------------
tiwai - 01-11-05 16:19
----------------------------------------------------------------------
Fixed on CVS.
Issue History
Date Modified Username Field Change
======================================================================
01-10-05 22:39 yosh New Issue 01-11-05 16:19 tiwai Status new => resolved 01-11-05 16:19 tiwai Resolution open => fixed 01-11-05 16:19 tiwai Assigned To => tiwai 01-11-05 16:19 tiwai Note Added: 0003153 01-11-05 16:19 tiwai Assigned To tiwai => 02-14-05 19:31 tiwai Status resolved => closed
======================================================================
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click