mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 23:46:14 -04:00
34 lines
690 B
Diff
34 lines
690 B
Diff
#Created by Quincy Fleming
|
|
#Failure to compile without include "<stdlib.h>"
|
|
#Bug: https://bugs.gentoo.org/927801
|
|
--- a/patch.c
|
|
+++ b/patch.c
|
|
@@ -30,6 +30,7 @@
|
|
*/
|
|
#include <errno.h>
|
|
#include <string.h>
|
|
+#include <stdlib.h>
|
|
#include <libxml/parser.h>
|
|
#include <libxml/tree.h>
|
|
|
|
--- a/program.c
|
|
+++ b/program.c
|
|
@@ -31,6 +31,7 @@
|
|
#include <errno.h>
|
|
#include <fcntl.h>
|
|
#include <string.h>
|
|
+#include <stdlib.h>
|
|
#include <unistd.h>
|
|
#include <libxml/parser.h>
|
|
#include <libxml/tree.h>
|
|
--- a/util.c
|
|
+++ b/util.c
|
|
@@ -31,6 +31,7 @@
|
|
#include <ctype.h>
|
|
#include <stdint.h>
|
|
#include <stdio.h>
|
|
+#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <libxml/parser.h>
|
|
#include <libxml/tree.h>
|