summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-03-25 13:55:42 +0000
committerJeroen Roovers <jer@gentoo.org>2014-03-25 13:55:42 +0000
commit6a0edd60e439f5df7831548a050bdd5030ec0273 (patch)
tree7eff37df178eb3ba4f2c7136f51bb640e242fd2c /x11-plugins/asapm/files
parentVersion bump. (diff)
downloadgentoo-2-6a0edd60e439f5df7831548a050bdd5030ec0273.tar.gz
gentoo-2-6a0edd60e439f5df7831548a050bdd5030ec0273.tar.bz2
gentoo-2-6a0edd60e439f5df7831548a050bdd5030ec0273.zip
Fix some compiler warnings.
(Portage version: 2.2.9-r1/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'x11-plugins/asapm/files')
-rw-r--r--x11-plugins/asapm/files/asapm-3.1-include.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/x11-plugins/asapm/files/asapm-3.1-include.patch b/x11-plugins/asapm/files/asapm-3.1-include.patch
new file mode 100644
index 000000000000..529d994ef122
--- /dev/null
+++ b/x11-plugins/asapm/files/asapm-3.1-include.patch
@@ -0,0 +1,10 @@
+--- a/apm_read.c
++++ b/apm_read.c
+@@ -13,6 +13,7 @@
+ */
+
+ #include <stdio.h>
++#include <stdlib.h> /* exit(), free() */
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <unistd.h>