diff mbox series

cec-compliance: add missing header for clang

Message ID 20200426074526.3664-1-rosenp@gmail.com (mailing list archive)
State New, archived
Headers show
Series cec-compliance: add missing header for clang | expand

Commit Message

Rosen Penev April 26, 2020, 7:45 a.m. UTC
Otherwise clock_getting doesn't get defined properly.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
 utils/cec-compliance/cec-compliance.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/utils/cec-compliance/cec-compliance.h b/utils/cec-compliance/cec-compliance.h
index c601427e..36b83d26 100644
--- a/utils/cec-compliance/cec-compliance.h
+++ b/utils/cec-compliance/cec-compliance.h
@@ -8,6 +8,7 @@ 
 #ifndef _CEC_COMPLIANCE_H_
 #define _CEC_COMPLIANCE_H_
 
+#include <ctime>
 #include <string>
 
 #include <linux/cec-funcs.h>