summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Makefile2
-rw-r--r--src/buffer.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index db917bb..c3a8818 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -4,7 +4,7 @@ PROG= sp12
SRCS= buffer.c device.c eeprom.c flash.c init.c sp12.c
HDRS= dos_cpt.h sp12.h
CFLAGS+= -Wall -ggdb
-LDADD+= -li386
+#LDADD+= -li386
OBJS= ${SRCS:.c=.o}
all: ${SRCS} ${HDRS} ${PROG}
diff --git a/src/buffer.c b/src/buffer.c
index 4a3a424..de26ca7 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -25,6 +25,7 @@
#include <string.h>
#include <time.h>
#include "sp12.h"
+#include "dos_cpt.h"
/* Converts address or data string to number, automatically */