• 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/iprutils/0003-iprlib-fixes-for-compatibility-with-musl.patch
Bernd KuhlsBernd Kuhls committed a7b9b632fd107 Feb 2016
Raw file
Source viewDiff to previous
 
1
From df3b2b74ed7b49d74f5a5ec5687bcc3188d3b319 Mon Sep 17 00:00:00 2001
2
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3
Date: Sun, 7 Feb 2016 14:10:44 +0100
4
Subject: [PATCH] iprlib: fixes for compatibility with musl
5
​
6
<bits/sockaddr.h> is an internal C library header, which is not
7
guaranteed to be available in all C libraries, so it shouldn't be
8
included, otherwise iprutils cannot be built with musl.
9
​
10
<limits.h> is needed to get the definition of PATH_MAX.
11
​
12
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13
---
14
 iprlib.h | 2 +-
15
 1 file changed, 1 insertion(+), 1 deletion(-)
16
​
17
diff --git a/iprlib.h b/iprlib.h
18
index 16fe1e1..73aa1ce 100644
19
--- a/iprlib.h
20
+++ b/iprlib.h
21
@@ -46,9 +46,9 @@
22
 #include <asm/byteorder.h>
23
 #include <sys/mman.h>
24
 #include <paths.h>
25
-#include <bits/sockaddr.h>
26
 #include <linux/netlink.h>
27
 #include <time.h>
28
+#include <limits.h>
29
 
30
 typedef uint8_t u8;
31
 typedef uint16_t u16;
32
-- 
33
2.6.4
34
​
  • 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.