• 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/libdaemon/0001-testd-use-unistd-h-instead-of-sys-unistd-h.patch
Peter KorsgaardPeter Korsgaard committed 298cd8eaa2103 Feb 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
examples/testd.c: As the C POSIX library recommends include the <unistd.h>
2
instead of <sys/unistd.h>. This removes an error when building libdaemon
3
against the musl C library.
4
​
5
Signed-off-by: Jörg Krause <jkrause@posteo.de>
6
--- libdaemon-0.14.orig/examples/testd.c    2014-08-30 00:27:08.359832977 +0200
7
+++ libdaemon-0.14/examples/testd.c 2014-08-30 00:27:25.439832670 +0200
8
@@ -23,7 +23,7 @@
9
 #include <string.h>
10
 #include <sys/types.h>
11
 #include <sys/time.h>
12
-#include <sys/unistd.h>
13
+#include <unistd.h>
14
 #include <sys/select.h>
15
 
16
 #include <libdaemon/dfork.h>
  • 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.