From 2669f218b733b488f2555b68411c4960a1eef46f Mon Sep 17 00:00:00 2001 From: Renaud Fivet Date: Sun, 13 Oct 2013 09:54:05 +0800 Subject: [PATCH] Recompile on Linux --- Makefile | 6 +++--- lock.c | 2 ++ posix.c | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 3ee359f..bdb199e 100644 --- a/Makefile +++ b/Makefile @@ -165,7 +165,7 @@ isearch.o: isearch.c isearch.h basic.h buffer.h crypt.h line.h utf8.h \ defines.h window.h line.o: line.c line.h utf8.h buffer.h crypt.h estruct.h log.h retcode.h \ window.h defines.h -lock.o: lock.c estruct.h lock.h +lock.o: lock.c estruct.h lock.h display.h input.h bind.h pklock.h log.o: log.c log.h retcode.h main.o: main.c estruct.h basic.h bind.h bindable.h buffer.h crypt.h \ line.h utf8.h display.h eval.h execute.h file.h retcode.h input.h lock.h \ @@ -174,7 +174,7 @@ names.o: names.c names.h basic.h bind.h bindable.h buffer.h crypt.h \ line.h utf8.h display.h eval.h exec.h retcode.h file.h isearch.h \ region.h random.h search.h spawn.h window.h defines.h word.h pklock.o: pklock.c estruct.h pklock.h -posix.o: posix.c termio.h +posix.o: posix.c termio.h estruct.h utf8.h random.o: random.c random.h basic.h buffer.h crypt.h line.h utf8.h \ display.h estruct.h execute.h input.h bind.h log.h retcode.h search.h \ terminal.h defines.h window.h @@ -188,7 +188,7 @@ spawn.o: spawn.c spawn.h defines.h buffer.h crypt.h line.h utf8.h \ terminal.h window.h tcap.o: tcap.c terminal.h defines.h retcode.h display.h estruct.h \ termio.h -termio.o: termio.c termio.h estruct.h retcode.h utf8.h +termio.o: termio.c termio.h utf8.o: utf8.c utf8.h vmsvt.o: vmsvt.c estruct.h vt52.o: vt52.c estruct.h diff --git a/lock.c b/lock.c index f912f52..d012ce3 100644 --- a/lock.c +++ b/lock.c @@ -13,8 +13,10 @@ #include #include +#include "defines.h" #include "display.h" #include "input.h" +#include "retcode.h" #if (FILOCK && BSD) || SVR4 #include "pklock.h" diff --git a/posix.c b/posix.c index 37a8f21..e12ff55 100644 --- a/posix.c +++ b/posix.c @@ -23,6 +23,7 @@ #include #include "estruct.h" +#include "retcode.h" #include "utf8.h" int ttrow = HUGE ; /* Row location of HW cursor */