TLSServer/Client need to include <errno.h> on NetBSD

Same fix applied as per Solaris. See TD-55 and
c60ec0b6ee
This commit is contained in:
atomicules 2014-08-17 21:54:30 +01:00 committed by Paul Beckingham
parent 0313057446
commit 7c6618e50a
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@
to Michele Vetturi).
- TD-45 Fix preprocessor define (thanks to Jochen Sprickerhof).
- TD-55 TLSServer/Client need to include <errno.h> on Solaris (thanks to Tatjana
Heuser).
Heuser). Also applied to NetBSD.
- TD-56 File.cpp needs to include <string.h> on Solaris (thanks to Tatjana
Heuѕer).
- TD-57 taskdctl script assumes /bin/sh is /bin/bash (thanks to Tatjana Heuser).

View file

@ -36,7 +36,7 @@
#include <string.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#if (defined OPENBSD || defined SOLARIS)
#if (defined OPENBSD || defined SOLARIS || defined NETBSD)
#include <errno.h>
#else
#include <sys/errno.h>