1 From 2fdbf9f56bd6e7b00c695881a81c0df2f5088760 Mon Sep 17 00:00:00 2001
2 From: Carlos Santos <casantos@datacom.ind.br>
3 Date: Fri, 23 Mar 2018 09:15:44 -0300
4 Subject: [PATCH] tcti/tcti_socket.cpp: add missing inclusion of sys/select.h
6 Prevents compilation errors due to undeclared "fd_set" type.
9 http://autobuild.buildroot.net/results/09e8b3b85d7113d60e8967a2d41a6aea8f8197c0
10 http://autobuild.buildroot.net/results/2e4c70f2f1239eb19235ae04a936a6492daf316d
11 http://autobuild.buildroot.net/results/bbd68f52781da735e983b1260de5b804787374b1
13 Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
15 tcti/tcti_socket.cpp | 2 ++
16 1 file changed, 2 insertions(+)
18 diff --git a/tcti/tcti_socket.cpp b/tcti/tcti_socket.cpp
19 index e8982f1..b6e5874 100644
20 --- a/tcti/tcti_socket.cpp
21 +++ b/tcti/tcti_socket.cpp
24 #include <stdlib.h> // Needed for _wtoi
26 +#include <sys/select.h> // for fd_set
28 #include "sapi/tpm20.h"
29 #include "tcti/tcti_socket.h"
30 #include "sysapi_util.h"