1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
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_
|