27 lines
716 B
Diff
27 lines
716 B
Diff
Build fails on musl-based Linux distributions
|
|
https://github.com/sandialabs/seacas/pull/348
|
|
|
|
diff --git a/ThirdParty/ioss/vtkioss/Ioss_FileInfo.C b/ThirdParty/ioss/vtkioss/Ioss_FileInfo.C
|
|
index ca5f15de..99c2bbdd 100644
|
|
--- a/ThirdParty/ioss/vtkioss/Ioss_FileInfo.C
|
|
+++ b/ThirdParty/ioss/vtkioss/Ioss_FileInfo.C
|
|
@@ -26,7 +26,7 @@
|
|
#define S_ISDIR(m) (((m)&_S_IFMT) == _S_IFDIR)
|
|
#endif
|
|
#else
|
|
-#include <sys/unistd.h>
|
|
+#include <unistd.h>
|
|
#if defined(__APPLE__) && defined(__MACH__)
|
|
#include <sys/param.h>
|
|
#include <sys/mount.h>
|
|
@@ -35,9 +35,6 @@
|
|
|
|
#include <cstdio>
|
|
#include <sys/stat.h>
|
|
-#ifndef _MSC_VER
|
|
-#include <unistd.h>
|
|
-#endif
|
|
|
|
namespace {
|
|
bool internal_access(const std::string &name, int mode);
|