diff options
Diffstat (limited to 'libgfortran/runtime/stop.c')
-rw-r--r-- | libgfortran/runtime/stop.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libgfortran/runtime/stop.c b/libgfortran/runtime/stop.c index 1f0f453bcb3..4805412e761 100644 --- a/libgfortran/runtime/stop.c +++ b/libgfortran/runtime/stop.c @@ -26,7 +26,11 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #include "libgfortran.h" #include <stdlib.h> #include <string.h> + +#ifdef HAVE_UNISTD_H #include <unistd.h> +#endif + /* A numeric STOP statement. */ |