source: npl/system/netkit-ftp/patches/27-netkit-ftp-0.17-remove-nested-include.patch @ ca72aba

Last change on this file since ca72aba was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 634 bytes
RevLine 
[c5c522c]1--- netkit-ftp-0.17/ftp/ftp.c   2012-07-20 07:55:48.545151322 +0200
2+++ netkit-ftp-0.17-new/ftp/ftp.c       2012-07-20 08:05:07.941468914 +0200
3@@ -74,6 +74,7 @@ char ftp_rcsid[] =
4 #include <sys/socket.h>
5 #include <sys/time.h>
6 #include <sys/file.h>
7+#include <sys/poll.h>
8 
9 #include <netinet/in.h>
10 #include <netinet/ip.h>
11@@ -820,7 +821,6 @@ sendrequest(const char *cmd, char *local
12        /* It can be later removed.                              */
13        if (old_code_l == 150 && code == 150 && cpend == 1
14            && sunique == 1 && cin !=  NULL && fileno (cin) >=  0 ) {
15-               #include <sys/poll.h>
16                struct pollfd  fds_events_l [2] ;
17                int rc;
18 
Note: See TracBrowser for help on using the repository browser.