diff options
author | Alexandr Shadchin <Alexandr.Shadchin@gmail.com> | 2011-10-03 23:03:31 +0600 |
---|---|---|
committer | Alexandr Shadchin <Alexandr.Shadchin@gmail.com> | 2011-10-29 02:13:28 +0600 |
commit | fea7c7a8c070ec17ec03e4cb193834b6ca72fb72 (patch) | |
tree | 03db886d725e0010114329110bf0a8406ab58301 | |
parent | 93a3a28f2c1e95ea7fae6cf1c2fb50b30eae9c33 (diff) |
bsd: alpha_video: Simplify #include
Signed-off-by: Alexandr Shadchin <Alexandr.Shadchin@gmail.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | hw/xfree86/os-support/bsd/alpha_video.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/hw/xfree86/os-support/bsd/alpha_video.c b/hw/xfree86/os-support/bsd/alpha_video.c index 1a3736b3b..ed1adca23 100644 --- a/hw/xfree86/os-support/bsd/alpha_video.c +++ b/hw/xfree86/os-support/bsd/alpha_video.c @@ -33,12 +33,10 @@ #include <sys/param.h> #ifndef __NetBSD__ -# include <sys/sysctl.h> -# if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) -# include <machine/sysarch.h> -# endif -# else -# include <machine/sysarch.h> +#include <sys/sysctl.h> +#endif +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__) +#include <machine/sysarch.h> #endif #include "xf86Axp.h" |