History

include/uapi/sound/asound.h: include stdlib.h in userspace

Fixes compiler errors like: error: field ‘trigger_tstamp’ has incomplete type error: invalid application of ‘sizeof’ to incomplete t ype ‘struct timespec’

Mikko Rapeli committed 11 years ago

Commit 4bebf701 parent 76a3aea1 file · +3 −0Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/sound/asound.h+3−0
@@ -25,6 +25,9 @@ · 24 unmodified lines
2525
2626 #include <linux/types.h>
2727
28+#ifndef __KERNEL__
29+#include <stdlib.h>
30+#endif
2831
2932 /*
3033 * protocol version

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t