diff options
Diffstat (limited to 'libgfortran/intrinsics/getlog.c')
-rw-r--r-- | libgfortran/intrinsics/getlog.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libgfortran/intrinsics/getlog.c b/libgfortran/intrinsics/getlog.c index 719447561cf..9eda12ee5da 100644 --- a/libgfortran/intrinsics/getlog.c +++ b/libgfortran/intrinsics/getlog.c @@ -31,6 +31,9 @@ Boston, MA 02111-1307, USA. */ #include "config.h" #include "libgfortran.h" +#ifdef HAVE_STRING_H +#include <string.h> +#endif #ifdef HAVE_UNISTD_H #include <unistd.h> #endif @@ -44,7 +47,7 @@ Boston, MA 02111-1307, USA. */ void PREFIX(getlog) (char *, gfc_charlen_type); export_proto_np(PREFIX(getlog)); -void +void PREFIX(getlog) (char * login, gfc_charlen_type login_len) { int p_len; |