From cf0c2cdc115c62359695718bdcf494fcb00e572e Mon Sep 17 00:00:00 2001 From: ZoRo Date: Wed, 1 Aug 2018 21:40:07 +0100 Subject: fixed to compile with arg.h --- Makefile | 2 +- notifylist.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c7dc48b..267dca7 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ INCLUDE=-I./extlib/ all: createextlib $(OBJECTS) $(PROJECT) $(PROJECT): $(SOURCES) notifylist.c - $(CXX) -c notifylist.c + $(CXX) $(INCLUDE) -c notifylist.c $(CC) $(OBJECTS) $(CFLAGS) $(LDFLAGS) -o $(PROJECT) %.o: %.c diff --git a/notifylist.c b/notifylist.c index ab98cb2..ef902a2 100644 --- a/notifylist.c +++ b/notifylist.c @@ -5,6 +5,8 @@ #include "__cpp.h" +#include + class INotify { private: public: @@ -13,6 +15,6 @@ public: int main() { - + return 0; } \ No newline at end of file -- cgit v1.2.3