acpid/acpid-2.0.2-headers.patch
Jiri Skala f4a9a935f2 - latest upstream version
- removed spare umask
- fixes missing headers
2010-02-25 21:44:18 +00:00

25 lines
675 B
Diff

diff -up acpid-2.0.2/acpid.c.headers acpid-2.0.2/acpid.c
--- acpid-2.0.2/acpid.c.headers 2010-02-25 22:35:49.625058306 +0100
+++ acpid-2.0.2/acpid.c 2010-02-25 22:37:40.512063316 +0100
@@ -21,6 +21,8 @@
*/
#include <unistd.h>
+#include <sys/types.h>
+#include <sys/stat.h>
#include <fcntl.h>
#include <signal.h>
#include <string.h>
diff -up acpid-2.0.2/sock.c.headers acpid-2.0.2/sock.c
--- acpid-2.0.2/sock.c.headers 2010-02-25 22:35:55.644052326 +0100
+++ acpid-2.0.2/sock.c 2010-02-25 22:37:29.592075611 +0100
@@ -21,6 +21,8 @@
*/
#include <unistd.h>
+#include <sys/types.h>
+#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>