Skip to content

Commit 451bcf7

Browse files
tools/mpirun: include errno.h
With some configuration options (e.g., --with-threads=argobots), no header includes "errno.h", causing a compile error because of undefined errno. errno.h should be included explicitly. Signed-off-by: Shintaro Iwasaki <siwasaki@anl.gov>
1 parent d6c573d commit 451bcf7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ompi/tools/mpirun/main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include <stdio.h>
1111
#include <stdlib.h>
1212
#include <unistd.h>
13+
#include <errno.h>
1314
#if HAVE_SYS_STAT_H
1415
# include <sys/stat.h>
1516
#endif /* HAVE_SYS_STAT_H */

0 commit comments

Comments
 (0)