File ncftp-3.1.8-implicit_decl.diff of Package ncftp
--- libncftp/syshdrs.h +++ libncftp/syshdrs.h @@ -100,6 +100,7 @@ # define _ALL_SOURCE 1 # endif # ifdef HAVE_UNISTD_H +# define _THREAD_SAFE # include <unistd.h> # endif # include <sys/types.h>
--- libncftp/syshdrs.h +++ libncftp/syshdrs.h @@ -100,6 +100,7 @@ # define _ALL_SOURCE 1 # endif # ifdef HAVE_UNISTD_H +# define _THREAD_SAFE # include <unistd.h> # endif # include <sys/types.h>