summaryrefslogtreecommitdiff
path: root/parallel/openmpi/patches/patch-ompi_mca_sharedfp_sm_sharedfp__sm.c
blob: c11b88bacbda910cc6a5bc5beeb0ceb668b14cea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ompi_mca_sharedfp_sm_sharedfp__sm.c,v 1.1 2022/08/25 22:09:14 thor Exp $

# Fix missing constants

--- ompi/mca/sharedfp/sm/sharedfp_sm.c.orig	2022-07-29 23:04:14.067867314 +0000
+++ ompi/mca/sharedfp/sm/sharedfp_sm.c
@@ -26,6 +26,7 @@
  * modules just to query their version and parameters
  */
 
+#include <sys/stat.h>	// Hack for NetBSD
 #include "ompi_config.h"
 #include "mpi.h"
 #include "ompi/mca/sharedfp/sharedfp.h"