Commit 8ca044a0 authored by Alfons Laarman's avatar Alfons Laarman Committed by Michael Weber
Browse files

Mac compatibility fix (malloc.h)

parent 50a27d8f
......@@ -17,7 +17,7 @@
#ifdef HAVE_MPI
#include <mpi.h>
#ifdef OPEN_MPI
#if defined(OPEN_MPI) && !defined(__APPLE__)
#include <ompi/version.h>
#endif
#endif
......
......@@ -22,7 +22,9 @@
#include <string.h> // strdup
#include <unistd.h> // execve
#ifndef __APPLE__
#include <malloc.h> // alloca on win32 seems to live there
#endif
#include <iostream>
extern char **environ;
......
......@@ -5,7 +5,9 @@
#include <fstream>
#include <sys/stat.h>
#include <errno.h>
#ifndef __APPLE__
#include <malloc.h> // alloca on win32 seems to live there
#endif
namespace wibble {
namespace sys {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment