Skip to content

Commit

Permalink
btl/tcp: add missing #include <unistd.h>
Browse files Browse the repository at this point in the history
Thanks Marco Atzeri for contributing the original patch

(cherry picked from commit open-mpi/ompi@5fa63f0)
  • Loading branch information
ggouaillardet committed Dec 24, 2015
1 parent 9d3cb1e commit cf05971
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion opal/mca/btl/tcp/btl_tcp.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2010-2011 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2014 Research Organization for Information Science
* Copyright (c) 2014-2015 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* Copyright (c) 2014-2015 Los Alamos National Security, LLC. All rights
* reserved.
Expand All @@ -37,6 +37,9 @@
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif

/* Open MPI includes */
#include "opal/mca/event/event.h"
Expand Down

0 comments on commit cf05971

Please sign in to comment.