We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fd6fe3d + d2af1d7 commit e852c0eCopy full SHA for e852c0e
ompi/mca/fs/base/base.h
@@ -43,9 +43,6 @@
43
#ifdef HAVE_SYS_PARAM_H
44
#include <sys/param.h>
45
#endif
46
-#ifdef HAVE_SYS_MOUNT_H
47
-#include <sys/mount.h>
48
-#endif
49
#ifdef HAVE_SYS_STAT_H
50
#include <sys/stat.h>
51
ompi/mca/fs/base/fs_base_get_parent_dir.c
@@ -35,6 +35,14 @@
35
#include "ompi/mca/fs/base/base.h"
36
#include "ompi/mca/common/ompio/common_ompio.h"
37
38
+/*
39
+ * Be careful moving this include.
40
+ * It's easy to hit problems similar to that reported in
41
+ * https://github.com/systemd/systemd/issues/8507
42
+ */
+#ifdef HAVE_SYS_MOUNT_H
+#include <sys/mount.h>
+#endif
void mca_fs_base_get_parent_dir ( char *filename, char **dirnamep)
{
0 commit comments