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 10, 2005

lore
Share & tools
lore
#0 lore raw

The following issue has been SUBMITTED.
======================================================================
<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:                     new
======================================================================
Date Submitted:             01-10-2005 22:39 CET
Last Modified:              01-10-2005 22:39 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.
======================================================================

Issue History
Date Modified Username Field Change
======================================================================
01-10-05 22:39 yosh New Issue
======================================================================

-------------------------------------------------------
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