diff options
author | François Tigeot <ftigeot@wolfpond.org> | 2012-01-31 20:28:54 +0100 |
---|---|---|
committer | François Tigeot <ftigeot@wolfpond.org> | 2012-01-31 20:34:22 +0100 |
commit | c7aa517c79f12b6bfe97f2b0a3e27bc6532a172a (patch) | |
tree | 7007377de98594d93e4efeff94f9036e11c17a66 /sal | |
parent | f2e17f8f6b6724d7e56d6583d79434372f6221bd (diff) |
Regroup DragonFly and NetBSD configurations
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/unx/system.h | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/sal/osl/unx/system.h b/sal/osl/unx/system.h index 881bc88f864f..8df86203ca1f 100644 --- a/sal/osl/unx/system.h +++ b/sal/osl/unx/system.h @@ -120,28 +120,7 @@ #endif #ifdef NETBSD -# include <sys/param.h> -# ifndef ETIME -# define ETIME ETIMEDOUT -# endif -# include <pthread.h> -# include <netdb.h> -# include <sys/sem.h> -# include <sys/exec.h> -# include <sys/filio.h> -# include <sys/ioctl.h> -# include <sys/time.h> -# include <sys/un.h> -# include <netinet/tcp.h> -# include <dlfcn.h> -# include <machine/endian.h> -# define IORESOURCE_TRANSFER_BSD -# define IOCHANNEL_TRANSFER_BSD_RENO -# define pthread_testcancel() -# define NO_PTHREAD_PRIORITY -# define NO_PTHREAD_SEMAPHORES # define NO_PTHREAD_RTL -# define PTHREAD_SIGACTION pthread_sigaction #endif #ifdef FREEBSD @@ -199,7 +178,7 @@ # define PTHREAD_SIGACTION pthread_sigaction #endif -#ifdef DRAGONFLY +#if defined(DRAGONFLY) || defined(NETBSD) # define ETIME ETIMEDOUT # include <pthread.h> # include <sys/sem.h> |