summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-nntp/sn/files/sn-0.3.8-qa.patch')
-rw-r--r--net-nntp/sn/files/sn-0.3.8-qa.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/net-nntp/sn/files/sn-0.3.8-qa.patch b/net-nntp/sn/files/sn-0.3.8-qa.patch
new file mode 100644
index 00000000000..52a25ebcd83
--- /dev/null
+++ b/net-nntp/sn/files/sn-0.3.8-qa.patch
@@ -0,0 +1,21 @@
+--- lib/readln.c
++++ lib/readln.c
+@@ -9,6 +9,7 @@
+ * Get a single line from an fd.
+ */
+
++#include <string.h>
+ #include <stdlib.h>
+ #include <unistd.h>
+ #include <sys/types.h>
+
+--- lib/cmdopen.c
++++ lib/cmdopen.c
+@@ -6,6 +6,7 @@
+ */
+
+ #include <unistd.h>
++#include <stdlib.h>
+ #include <fcntl.h>
+ #include <sys/wait.h>
+