Merge pull request #2326 from thypon/ulatencymusl

ulatencyd: fix musl
This commit is contained in:
Andrea Brancaleoni 2015-08-22 01:37:12 +02:00
commit c93a258870
3 changed files with 1492 additions and 1 deletions

View file

@ -0,0 +1,45 @@
From de041265241f12304969546a0f6becf7e3edf78c Mon Sep 17 00:00:00 2001
From: Andrea Brancaleoni <miwaxe@gmail.com>
Date: Sat, 22 Aug 2015 00:40:45 +0200
Subject: [PATCH 3/4] {ulatencyd,lua_binding}.c: removed unused headers
---
src/lua_binding.c | 1 -
src/ulatencyd.c | 2 --
2 files changed, 3 deletions(-)
diff --git a/src/lua_binding.c b/src/lua_binding.c
index aab118e..a8fb882 100644
--- a/src/lua_binding.c
+++ b/src/lua_binding.c
@@ -34,7 +34,6 @@
#include <glib.h>
#include <signal.h>
#include <time.h>
-#include <bits/signum.h>
//#include <errno.h>
#include <sched.h>
#include <linux/sched.h>
diff --git a/src/ulatencyd.c b/src/ulatencyd.c
index ff8972b..1966d94 100644
--- a/src/ulatencyd.c
+++ b/src/ulatencyd.c
@@ -27,7 +27,6 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
-#include <errno.h>
#include <glib.h>
#include <stdlib.h>
#include <string.h>
@@ -51,7 +50,6 @@ DBusGConnection *U_dbus_connection_system;
#include <proc/sysinfo.h>
#include <proc/readproc.h>
#include <sys/mman.h>
-#include <error.h>
static gchar *config_file = QUOTEME(CONFIG_PATH)"/ulatencyd.conf";
static gchar *rules_directory = QUOTEME(RULES_DIRECTORY);
--
2.5.0

File diff suppressed because it is too large Load diff

View file

@ -1,7 +1,7 @@
# Template file for 'ulatencyd'
pkgname=ulatencyd
version=0.6.0
revision=3
revision=4
_subrelease=alpha.2.1
wrksrc="${pkgname}-${version}-${_subrelease}"
build_style=cmake