• 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/mpd/0001-thread-Name-include-stdio.h-for-prctl-as-well.patch
Gustavo ZacariasGustavo Zacarias committed afac57162f626 Jan 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
From 36139b29cccae008c74924d81ea67d265327f7ac Mon Sep 17 00:00:00 2001
2
From: Gustavo Zacarias <gustavo@zacarias.com.ar>
3
Date: Mon, 26 Jan 2015 09:55:04 -0300
4
Subject: [PATCH] thread/Name: include stdio.h for prctl as well
5
​
6
We're still using snprintf so we need it, otherwise it leads to build
7
failure.
8
​
9
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
10
---
11
 src/thread/Name.hxx | 1 +
12
 1 file changed, 1 insertion(+)
13
​
14
diff --git a/src/thread/Name.hxx b/src/thread/Name.hxx
15
index 1576b3f..8d46d33 100644
16
--- a/src/thread/Name.hxx
17
+++ b/src/thread/Name.hxx
18
@@ -26,6 +26,7 @@
19
 #  include <stdio.h>
20
 #elif defined(HAVE_PRCTL)
21
 #  include <sys/prctl.h>
22
+#  include <stdio.h>
23
 #  ifdef PR_SET_NAME
24
 #    define HAVE_THREAD_NAME
25
 #  endif
26
-- 
27
2.0.5
28
​
  • 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.