• 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/at/0004-getloadavg.c-fix.patch
Vicente Olivert RieraVicente Olivert Riera committed 3a7fce0c95325 Nov 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
[PATCH]: fix getloadavg.c compilation, revert to 3.1.10 version
2
​
3
getloadavg.c shipped with 3.1.13 doesn't compile because it references
4
headers not shipped. Fix it by simply reverting to the 3.1.10 version.
5
​
6
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
7
---
8
 getloadavg.c |    7 ++++---
9
 1 file changed, 4 insertions(+), 3 deletions(-)
10
​
11
Index: at-3.1.13/getloadavg.c
12
===================================================================
13
--- at-3.1.13.orig/getloadavg.c
14
+++ at-3.1.13/getloadavg.c
15
@@ -66,11 +66,12 @@ Boston, MA  02110-1301  USA */
16
 
17
 /* This should always be first.  */
18
 #ifdef HAVE_CONFIG_H
19
-#include <config.h>
20
+#include "config.h"
21
 #endif
22
 
23
-#include "lisp.h"
24
-#include "sysfile.h" /* for encapsulated open, close, read, write */
25
+#include <sys/types.h>
26
+#include <sys/stat.h>
27
+#include <fcntl.h>
28
 
29
 #ifndef HAVE_GETLOADAVG
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.