aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZoRo <dos21h@gmail.com>2018-08-01 21:40:07 +0100
committerZoRo <dos21h@gmail.com>2018-08-01 21:40:07 +0100
commitcf0c2cdc115c62359695718bdcf494fcb00e572e (patch)
treee3882bfb6f6e85921fb844326932ce96ddbd27a2
parent7649df10ac7d1503fde181faa5d356177b40c2df (diff)
downloadnotifylist-cf0c2cdc115c62359695718bdcf494fcb00e572e.tar.gz
notifylist-cf0c2cdc115c62359695718bdcf494fcb00e572e.zip
fixed to compile with arg.h
-rw-r--r--Makefile2
-rw-r--r--notifylist.c4
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 <arg.h>
+
class INotify {
private:
public:
@@ -13,6 +15,6 @@ public:
int main()
{
-
+
return 0;
} \ No newline at end of file