aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libteam/libteam/0001-include-sys-select.h-for-fd_set-definition.patch
blob: a4a17ed85bcca07a5c65447411b723bb2e2b60cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From 0ab69dc18a2057ff5bf41abcdf2b983b72d5a903 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 12 Jul 2017 15:34:49 -0700
Subject: [PATCH 1/2] include sys/select.h for fd_set definition

Fixes
teamnl.c:160:2: error: unknown type name 'fd_set'; did you mean 'fpos_t'?

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 utils/teamnl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/utils/teamnl.c b/utils/teamnl.c
index e8de7e2..25129e8 100644
--- a/utils/teamnl.c
+++ b/utils/teamnl.c
@@ -24,6 +24,7 @@
 #include <getopt.h>
 #include <errno.h>
 #include <sys/signalfd.h>
+#include <sys/select.h>
 #include <signal.h>
 #include <unistd.h>
 #include <team.h>
-- 
2.13.2