summaryrefslogtreecommitdiff
path: root/package/portmap/portmap-5b-include-errno_h.patch
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-11-11 14:25:10 +0000
committerMike Frysinger <vapier@gentoo.org>2004-11-11 14:25:10 +0000
commitdb13d321d6566c8937a7dbf872d4b4410a9d79ae (patch)
treebffd8ba57a597a2a93dcf1aa37cf9e010c510c96 /package/portmap/portmap-5b-include-errno_h.patch
parentb4176386f4c05fd95250ba151e9b26d568b9f878 (diff)
portmap
Diffstat (limited to 'package/portmap/portmap-5b-include-errno_h.patch')
-rw-r--r--package/portmap/portmap-5b-include-errno_h.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/portmap/portmap-5b-include-errno_h.patch b/package/portmap/portmap-5b-include-errno_h.patch
new file mode 100644
index 000000000..a440e6158
--- /dev/null
+++ b/package/portmap/portmap-5b-include-errno_h.patch
@@ -0,0 +1,18 @@
+--- portmap_5beta/portmap.c.orig 2002-12-31 22:13:17.000000000 +0200
++++ portmap_5beta/portmap.c 2002-12-31 22:13:50.000000000 +0200
+@@ -97,6 +97,7 @@
+
+ extern char *strerror();
+ #include <stdlib.h>
++#include <errno.h>
+
+ #ifndef LOG_PERROR
+ #define LOG_PERROR 0
+@@ -124,7 +125,6 @@
+ static void callit();
+ struct pmaplist *pmaplist;
+ int debugging = 0;
+-extern int errno;
+
+ #include "pmap_check.h"
+