summaryrefslogtreecommitdiffstats
path: root/meta-openembedded/meta-oe/recipes-extended/tipcutils/tipcutils/0001-include-sys-select.h-for-FD_-definitions.patch
blob: 6c8ba9074a0a19062c938dc3aa84778ceaa76032 (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
From e291d720a7d9576063717969dde82c33bac7eecf Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Tue, 11 Apr 2017 14:19:21 -0700
Subject: [PATCH 1/2] include sys/select.h for FD_* definitions

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

diff --git a/demos/inventory_sim/inventory_sim.c b/demos/inventory_sim/inventory_sim.c
index fadf27b..22c33d1 100644
--- a/demos/inventory_sim/inventory_sim.c
+++ b/demos/inventory_sim/inventory_sim.c
@@ -132,6 +132,7 @@ Examples
 #include <string.h>
 #include <unistd.h>
 #include <sys/socket.h>
+#include <sys/select.h>
 #include <netinet/in.h>
 #include <linux/tipc.h>
 
-- 
2.12.2

OpenPOWER on IntegriCloud