From eaee1332e10a34d658ea104422c30c4d25cfb08f Mon Sep 17 00:00:00 2001 From: Gilles Gouaillardet Date: Fri, 23 Sep 2016 11:22:19 +0900 Subject: [PATCH] opal/util/ethtool: add missing headers and get Open MPI build on OpenBSD 6.0 --- opal/util/ethtool.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/opal/util/ethtool.c b/opal/util/ethtool.c index 68afa89df2..c44bed21bc 100644 --- a/opal/util/ethtool.c +++ b/opal/util/ethtool.c @@ -1,8 +1,8 @@ /* - * Copyright (c) 2016 Karol Mroz. All rights reserved. + * Copyright (c) 2016 Karol Mroz. All rights reserved. * Copyright (c) 2016 Research Organization for Information Science * and Technology (RIST). All rights reserved. - * Copyright (c) 2016 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2016 Cisco Systems, Inc. All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow @@ -18,6 +18,12 @@ #ifdef HAVE_UNISTD_H #include #endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_SYS_SOCKET_H +#include +#endif #ifdef HAVE_NET_IF_H #include #endif