summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/ncftp/sys.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/ncftp/sys.h b/usr.bin/ncftp/sys.h
index 2e7b5d2..83f3516 100644
--- a/usr.bin/ncftp/sys.h
+++ b/usr.bin/ncftp/sys.h
@@ -405,6 +405,9 @@ extern int errno;
# include <sys/types.h>
# include <sys/param.h> /* this two for BSD definition */
/* to avoid redefinition of it to 1 */
+#if __FreeBSD__ > 1
+# define SYSSELECTH 1
+#endif
# define HERROR 1
# define TERMIOS 1
# define HAS_GETCWD 1
OpenPOWER on IntegriCloud