diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-01 14:06:58 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-01 14:06:58 +0000 |
commit | ac180a0ccc7b9d6d1a7e2c0ba34a0e617fb87b2a (patch) | |
tree | 9de49e1f2fc574f4e68e0c5eb903cb537c8c2695 /netkit-ftp-0.17-remove-nested-include.patch | |
parent | 72d830c7e64b038eb96c0f36e0c1a0ab225238e3 (diff) |
automatic import of ftpopeneuler24.03_LTS
Diffstat (limited to 'netkit-ftp-0.17-remove-nested-include.patch')
-rw-r--r-- | netkit-ftp-0.17-remove-nested-include.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/netkit-ftp-0.17-remove-nested-include.patch b/netkit-ftp-0.17-remove-nested-include.patch new file mode 100644 index 0000000..97cf136 --- /dev/null +++ b/netkit-ftp-0.17-remove-nested-include.patch @@ -0,0 +1,18 @@ +--- netkit-ftp-0.17/ftp/ftp.c 2012-07-20 07:55:48.545151322 +0200 ++++ netkit-ftp-0.17-new/ftp/ftp.c 2012-07-20 08:05:07.941468914 +0200 +@@ -74,6 +74,7 @@ char ftp_rcsid[] = + #include <sys/socket.h> + #include <sys/time.h> + #include <sys/file.h> ++#include <sys/poll.h> + + #include <netinet/in.h> + #include <netinet/ip.h> +@@ -820,7 +821,6 @@ sendrequest(const char *cmd, char *local + /* It can be later removed. */ + if (old_code_l == 150 && code == 150 && cpend == 1 + && sunique == 1 && cin != NULL && fileno (cin) >= 0 ) { +- #include <sys/poll.h> + struct pollfd fds_events_l [2] ; + int rc; + |