1From 2541ee3d709803096b17e45610ccc1404e2e5eee Mon Sep 17 00:00:00 2001
2From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3Date: Sat, 8 Aug 2015 17:46:34 +0200
4Subject: [PATCH] fd_set requires inclusion of <sys/select.h>
5
6According to POSIX.1-2001, the definition fd_set and related macros is
7in <sys/select.h>, so it should be included in files using fd_set to
8make the code compatible with all standard C libraries.
9
10Submitted upstream: https://sourceforge.net/p/bcusdk/patches/3/
11
12Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13---
14 eibd/examples/common.h | 1 +
15 1 file changed, 1 insertion(+)
16
17diff --git a/eibd/examples/common.h b/eibd/examples/common.h
18index 51fc514..f038da1 100644
19--- a/eibd/examples/common.h
20+++ b/eibd/examples/common.h
21@@ -20,6 +20,7 @@
22 #include <stdlib.h>
23 #include <errno.h>
24 #include <unistd.h>
25+#include <sys/select.h>
26 #include "eibclient.h"
27
28 /** unsigned char*/
29--
302.5.0
31
32