From: Dmitry V. Levin Date: Fri, 13 May 2016 20:22:18 +0000 (+0000) Subject: sock.c: include instead of or X-Git-Tag: v4.12~162 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=deff569f4122fe80f7afe7b2bdb232db6105a848;p=strace sock.c: include instead of or Include for on alpha, sh, and sh64 architectures because their use _IOR and _IOW macros but don't include anything that would define these macros. Being a wrapper around , brings no benefits in this case. simply doesn't exist. * sock.c [ALPHA || SH || SH64]: Include instead of or . --- diff --git a/sock.c b/sock.c index 4da53022..88a0df53 100644 --- a/sock.c +++ b/sock.c @@ -27,15 +27,11 @@ #include "defs.h" #include +#if defined ALPHA || defined SH || defined SH64 +# include +#endif #include #include -#if defined(ALPHA) || defined(SH) || defined(SH64) -# if defined(HAVE_SYS_IOCTL_H) -# include -# elif defined(HAVE_IOCTLS_H) -# include -# endif -#endif #include #include "xlat/iffflags.h"