summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2010-01-06 18:49:43 +0000
committerDimitri Sokolyuk <demon@dim13.org>2010-01-06 18:49:43 +0000
commit64a3d9fe7afe2936835ac39747d1cc1b9201e7a5 (patch)
treeed0e9d51c788a76448c7c6aabedc119331200d42
parent05ff3da0f88c5f6b03c43371e88fb1b22434a51e (diff)
minor linux fix
-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 */