You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-apps/cpint/files/cpint-2.5.3-prototypes.patch

44 lines
1008 B

--- cpint-2.5.3/actgen.c
+++ cpint-2.5.3/actgen.c
@@ -45,6 +45,7 @@
/************************************************************/
#include <stdio.h>
+#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
--- cpint-2.5.3/diag0.c
+++ cpint-2.5.3/diag0.c
@@ -46,6 +46,8 @@
/************************************************************/
#include <stdio.h>
+#include <stdlib.h>
+#include <sys/ioctl.h>
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
--- cpint-2.5.3/hcp.c
+++ cpint-2.5.3/hcp.c
@@ -48,6 +48,8 @@
/************************************************************/
#include <stdio.h>
+#include <stdlib.h>
+#include <sys/ioctl.h>
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
--- cpint-2.5.3/mongen.c
+++ cpint-2.5.3/mongen.c
@@ -59,6 +59,8 @@
/************************************************************/
#include <stdio.h>
+#include <stdlib.h>
+#include <sys/ioctl.h>
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>