diff --git a/24cXX.h b/24cXX.h index 7dcb35e..57c713e 100644 --- a/24cXX.h +++ b/24cXX.h @@ -16,6 +16,8 @@ #ifndef _24CXX_H_ #define _24CXX_H_ #include +#include +#include #define EEPROM_TYPE_UNKNOWN 0 #define EEPROM_TYPE_8BIT_ADDR 1 diff --git a/Makefile b/Makefile index e88cfa7..7d01539 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,7 @@ clean: rm -f eeprog eeprog.o 24cXX.o eeprog: eeprog.o 24cXX.o + $(CC) $(CFLAGS) -o $@ $^ -li2c eeprog-static: eeprog.o 24cXX.o $(CC) -static -o $@ $?