Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: [OMPI devel] trunk build failure on NetBSD-5.0
From: Paul Hargrove (phhargrove_at_[hidden])
Date: 2012-02-17 03:49:21


The following small patch was require to build the ompi trunk on NetBSD-5.0.
I am not sure if this was the proper header in which to add this include,
but it is the first one that needs "struct timeval".

-Paul

--- openmpi-1.7a1r25944/opal/dss/dss_types.h~ 2012-02-17
00:30:09.000000000 -0800
+++ openmpi-1.7a1r25944/opal/dss/dss_types.h 2012-02-17
00:34:04.000000000 -0800
@@ -31,6 +31,10 @@
 #include "opal/class/opal_object.h"
 #include "opal/class/opal_list.h"

+#ifdef OPAL_HAVE_SYS_TIME_H
+#include <sys/time.h> /* for struct timeval */
+#endif
+
 BEGIN_C_DECLS

 typedef uint8_t opal_data_type_t; /** data type indicators */

-- 
Paul H. Hargrove                          PHHargrove_at_[hidden]
Future Technologies Group
HPC Research Department                   Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900