[PATCH 2/7] tools include uapi: Sync sound/asound.h copy

From: Arnaldo Carvalho de Melo
Date: Fri Apr 19 2019 - 14:33:35 EST


From: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>

Picking the changes from:

Fixes: b5bdbb6ccd11 ("ALSA: uapi: #include <time.h> in asound.h")

Which entails no changes in the tooling side.

To silence this perf tools build warning:

Warning: Kernel ABI header at 'tools/include/uapi/sound/asound.h' differs from latest version at 'include/uapi/sound/asound.h'
diff -u tools/include/uapi/sound/asound.h include/uapi/sound/asound.h

Cc: Adrian Hunter <adrian.hunter@xxxxxxxxx>
Cc: Daniel Mentz <danielmentz@xxxxxxxxxx>
Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
Cc: Takashi Iwai <tiwai@xxxxxxx>
Link: https://lkml.kernel.org/n/tip-15o4twfkbn6nny9aus90dyzx@xxxxxxxxxxxxxx
Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
---
tools/include/uapi/sound/asound.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/tools/include/uapi/sound/asound.h b/tools/include/uapi/sound/asound.h
index 404d4b9ffe76..df1153cea0b7 100644
--- a/tools/include/uapi/sound/asound.h
+++ b/tools/include/uapi/sound/asound.h
@@ -32,6 +32,7 @@

#ifndef __KERNEL__
#include <stdlib.h>
+#include <time.h>
#endif

/*
--
2.20.1