summaryrefslogtreecommitdiffstats
path: root/loader/kon2
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2001-11-13 21:13:24 +0000
committerErik Troan <ewt@redhat.com>2001-11-13 21:13:24 +0000
commit59c4affa31e8a69352a29f1e327e86bed3e606be (patch)
treee1280d75f8910494a0905bc33b76c29b17ae5a24 /loader/kon2
parent97a3cd864677164834d5520dcef5e11221e78a28 (diff)
downloadanaconda-59c4affa31e8a69352a29f1e327e86bed3e606be.tar.gz
anaconda-59c4affa31e8a69352a29f1e327e86bed3e606be.tar.xz
anaconda-59c4affa31e8a69352a29f1e327e86bed3e606be.zip
define types needed for diet
Diffstat (limited to 'loader/kon2')
-rw-r--r--loader/kon2/Makefile3
-rw-r--r--loader/kon2/lib/coding.c1
-rw-r--r--loader/kon2/lib/font.c1
-rw-r--r--loader/kon2/lib/mem.c1
-rw-r--r--loader/kon2/src/child.c1
-rw-r--r--loader/kon2/src/display/svga.c1
-rw-r--r--loader/kon2/src/display/vga.c1
-rw-r--r--loader/kon2/src/errors.c1
-rw-r--r--loader/kon2/src/fnld.c1
-rw-r--r--loader/kon2/src/term.c1
-rw-r--r--loader/kon2/src/vc.c1
-rw-r--r--loader/kon2/src/vt.c2
12 files changed, 15 insertions, 0 deletions
diff --git a/loader/kon2/Makefile b/loader/kon2/Makefile
index 0f541ebd0..fcfdd8ea6 100644
--- a/loader/kon2/Makefile
+++ b/loader/kon2/Makefile
@@ -9,6 +9,9 @@ LIB = $(shell pwd)/lib/libgon.a
MFLAGS = INCDIR=$(INCDIR) LIB=$(LIB)
+CC = diet gcc
+MAKE := $(MAKE) "CC=$(CC)"
+
ifdef MINI_KON
SUBDIRS = lib src
else
diff --git a/loader/kon2/lib/coding.c b/loader/kon2/lib/coding.c
index ae1a1c5a8..4e1846d08 100644
--- a/loader/kon2/lib/coding.c
+++ b/loader/kon2/lib/coding.c
@@ -26,6 +26,7 @@
*/
#include <config.h>
+#include <types.h>
#include <stdio.h>
#include <errno.h>
diff --git a/loader/kon2/lib/font.c b/loader/kon2/lib/font.c
index 2ada5c5b1..a424fc1b3 100644
--- a/loader/kon2/lib/font.c
+++ b/loader/kon2/lib/font.c
@@ -26,6 +26,7 @@
*/
#include <config.h>
+#include <types.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/loader/kon2/lib/mem.c b/loader/kon2/lib/mem.c
index dba505f55..d43ea48f0 100644
--- a/loader/kon2/lib/mem.c
+++ b/loader/kon2/lib/mem.c
@@ -25,6 +25,7 @@
*
*/
+#include "../include/types.h"
#include <sys/types.h>
#include <mem.h>
#if defined(linux)
diff --git a/loader/kon2/src/child.c b/loader/kon2/src/child.c
index 95523fa31..5fca88f13 100644
--- a/loader/kon2/src/child.c
+++ b/loader/kon2/src/child.c
@@ -26,6 +26,7 @@
*/
#include <config.h>
+#include <types.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/loader/kon2/src/display/svga.c b/loader/kon2/src/display/svga.c
index d2d9dffde..f1385548e 100644
--- a/loader/kon2/src/display/svga.c
+++ b/loader/kon2/src/display/svga.c
@@ -32,6 +32,7 @@
*/
#include <config.h>
+#include <types.h>
#ifdef HAS_VGA
diff --git a/loader/kon2/src/display/vga.c b/loader/kon2/src/display/vga.c
index 48201f584..78940b29b 100644
--- a/loader/kon2/src/display/vga.c
+++ b/loader/kon2/src/display/vga.c
@@ -32,6 +32,7 @@
*/
#include <config.h>
+#include <types.h>
#ifdef HAS_VGA
diff --git a/loader/kon2/src/errors.c b/loader/kon2/src/errors.c
index 13069352e..5b73a1e69 100644
--- a/loader/kon2/src/errors.c
+++ b/loader/kon2/src/errors.c
@@ -25,6 +25,7 @@
*
*/
#include <config.h>
+#include <types.h>
#include <stdio.h>
#include <errno.h>
diff --git a/loader/kon2/src/fnld.c b/loader/kon2/src/fnld.c
index 5ea59ad0b..c747d49d2 100644
--- a/loader/kon2/src/fnld.c
+++ b/loader/kon2/src/fnld.c
@@ -26,6 +26,7 @@
*/
#include <config.h>
+#include <types.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/loader/kon2/src/term.c b/loader/kon2/src/term.c
index 7133363ee..5e2b16ff9 100644
--- a/loader/kon2/src/term.c
+++ b/loader/kon2/src/term.c
@@ -45,6 +45,7 @@
#include <sys/wait.h>
#include <config.h>
+#include <types.h>
#include <getcap.h>
#include <defs.h>
diff --git a/loader/kon2/src/vc.c b/loader/kon2/src/vc.c
index e2f588fad..b60068b91 100644
--- a/loader/kon2/src/vc.c
+++ b/loader/kon2/src/vc.c
@@ -27,6 +27,7 @@
*/
#include <config.h>
+#include <types.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/loader/kon2/src/vt.c b/loader/kon2/src/vt.c
index df019e33d..106eefbce 100644
--- a/loader/kon2/src/vt.c
+++ b/loader/kon2/src/vt.c
@@ -25,6 +25,8 @@
*
*/
+#include <types.h>
+
#include <stdio.h>
#include <unistd.h>
#include <string.h>