• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/bcusdk/0001-fd_set-requires-inclusion-of-sys-select.h.patch
Yann E. MORINYann E. MORIN committed 4aa357d9c6b18 Aug 2016
Raw file
Source viewDiff to previous
 
1
From 2541ee3d709803096b17e45610ccc1404e2e5eee Mon Sep 17 00:00:00 2001
2
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3
Date: Sat, 8 Aug 2015 17:46:34 +0200
4
Subject: [PATCH] fd_set requires inclusion of <sys/select.h>
5
​
6
According to POSIX.1-2001, the definition fd_set and related macros is
7
in <sys/select.h>, so it should be included in files using fd_set to
8
make the code compatible with all standard C libraries.
9
​
10
Submitted upstream: https://sourceforge.net/p/bcusdk/patches/3/
11
​
12
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13
---
14
 eibd/examples/common.h | 1 +
15
 1 file changed, 1 insertion(+)
16
​
17
diff --git a/eibd/examples/common.h b/eibd/examples/common.h
18
index 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
-- 
30
2.5.0
31
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.