summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-02-24 05:41:47 +0000
committerjbj <devnull@localhost>2000-02-24 05:41:47 +0000
commitfc45026a9e1bd32ef8dec83f2e3bdac3262820b8 (patch)
tree34f8ad7a2d3d8d0c5b6b4748c1830f8b1f0a14c9
parent1cd98cb04c9eccd7cf8b7a09824086a954406036 (diff)
downloadlibrpm-tizen-fc45026a9e1bd32ef8dec83f2e3bdac3262820b8.tar.gz
librpm-tizen-fc45026a9e1bd32ef8dec83f2e3bdac3262820b8.tar.bz2
librpm-tizen-fc45026a9e1bd32ef8dec83f2e3bdac3262820b8.zip
Make sure that IPPORT_FTP is defined.
CVS patchset: 3585 CVS date: 2000/02/24 05:41:47
-rw-r--r--lib/url.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/url.c b/lib/url.c
index aa0918694..33813a2a3 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -13,6 +13,9 @@
#include <rpmio.h>
#include <rpmurl.h>
+#ifndef IPPORT_FTP
+#define IPPORT_FTP 21
+#endif
#ifndef IPPORT_HTTP
#define IPPORT_HTTP 80
#endif