Skip to content

Commit 5fa63f0

Browse files
committed
btl/tcp: add missing #include <unistd.h>
Thanks Marco Atzeri for contributing the original patch
1 parent 15ed7ad commit 5fa63f0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

opal/mca/btl/tcp/btl_tcp.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Copyright (c) 2004-2005 The Regents of the University of California.
1212
* All rights reserved.
1313
* Copyright (c) 2010-2011 Cisco Systems, Inc. All rights reserved.
14-
* Copyright (c) 2014 Research Organization for Information Science
14+
* Copyright (c) 2014-2015 Research Organization for Information Science
1515
* and Technology (RIST). All rights reserved.
1616
* Copyright (c) 2014-2015 Los Alamos National Security, LLC. All rights
1717
* reserved.
@@ -37,6 +37,9 @@
3737
#ifdef HAVE_NETINET_IN_H
3838
#include <netinet/in.h>
3939
#endif
40+
#ifdef HAVE_UNISTD_H
41+
#include <unistd.h>
42+
#endif
4043

4144
/* Open MPI includes */
4245
#include "opal/mca/event/event.h"

0 commit comments

Comments
 (0)