Skip to contentSkip to conversation

: asoundlib.h doesn't #include time.h, which is needed for struct timespec

ALSA - lib 0000804 [email protected] 1 participant 1 message Jan 11, 2005

lore
Share & tools
lore
#0 lore raw

The following issue has been RESOLVED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=804>
======================================================================

Reported By:                yosh
Assigned To:                tiwai
======================================================================
Project:                    ALSA - lib
Issue ID:                   804
Category:                   general
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             01-10-2005 22:39 CET
Last Modified:              01-11-2005 16:19 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                          

======================================================================

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt