Author: Andreas Beckmann <anbe@debian.org>
Description: fix building with -Werror=implicit-function-declaration

--- a/sys/grfileio.c
+++ b/sys/grfileio.c
@@ -18,8 +18,10 @@
 
 #include <stdlib.h>
 #include <stdio.h>
+#include <string.h>
 #include <sys/types.h>
 #include <fcntl.h>
+#include <unistd.h>
 
 #ifdef PG_PPU
 #define GROFIL grofil_
--- a/sys/grtermio.c
+++ b/sys/grtermio.c
@@ -5,8 +5,11 @@
 /* Support routines for terminal I/O. This module defines the following
    Fortran-callable routines: GROTER, GRCTER, GRWTER, GRPTER. */
 
+#include <fcntl.h>
 #include <stdio.h>
+#include <string.h>
 #include <termios.h>
+#include <unistd.h>
 
 #ifdef PG_PPU
 #define GROTER groter_
