• 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/connman/0002-nat-build-failure.patch
Gustavo ZacariasGustavo Zacarias committed ba22728c56c19 Apr 2016
Raw file
Source viewDiff to previous
 
1
From 68f4b4f5b220f256b17ad2f084d61fe89f3632ae Mon Sep 17 00:00:00 2001
2
From: Gustavo Zacarias <gustavo@zacarias.com.ar>
3
Date: Tue, 19 Apr 2016 08:38:38 -0300
4
Subject: [PATCH] nat: fix build failure
5
​
6
_GNU_SOURCE needs to be defined so that O_CLOEXEC symbols can be found in
7
system header files.
8
​
9
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
10
---
11
Status: submitted upstream
12
​
13
 src/nat.c | 1 +
14
 1 file changed, 1 insertion(+)
15
​
16
diff --git a/src/nat.c b/src/nat.c
17
index 33ae6df..62e21d4 100644
18
--- a/src/nat.c
19
+++ b/src/nat.c
20
@@ -24,6 +24,7 @@
21
 #include <config.h>
22
 #endif
23
 
24
+#define _GNU_SOURCE
25
 #include <errno.h>
26
 #include <sys/types.h>
27
 #include <sys/stat.h>
28
-- 
29
2.7.3
30
​
  • 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.