summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am4
-rw-r--r--client.c2
-rw-r--r--main.c2
-rw-r--r--rtclient.h (renamed from rtclient/client.h)6
4 files changed, 7 insertions, 7 deletions
diff --git a/Makefile.am b/Makefile.am
index 8e823f3..b6fee15 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -10,11 +10,11 @@ librtclient_la_SOURCES = \
client.c
librtclient_la_CPPFLAGS = -I${prefix}/include
librtclient_la_LDFLAGS = -L${prefix}/lib -lcurl
+include_HEADERS = rtclient.h
pkginclude_HEADERS = \
rtclient/user.h \
rtclient/ticket.h \
- rtclient/search.h \
- rtclient/client.h
+ rtclient/search.h
#bin_PROGRAMS = rtclienttest
#rtclienttest_SOURCES = main.c
#rtclienttest_LDADD = librtclient.la
diff --git a/client.c b/client.c
index 8970b84..f452b06 100644
--- a/client.c
+++ b/client.c
@@ -1,7 +1,7 @@
#include <stdbool.h>
#include <stdlib.h>
#include "request.h"
-#include "rtclient/client.h"
+#include "rtclient.h"
CURL *curl = NULL;
char *server_url = NULL;
diff --git a/main.c b/main.c
index 9a8852c..6c00ffd 100644
--- a/main.c
+++ b/main.c
@@ -2,7 +2,7 @@
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
-#include <rtclient/client.h>
+#include <rtclient.h>
#include <rtclient/user.h>
#include <rtclient/ticket.h>
#include <rtclient/search.h>
diff --git a/rtclient/client.h b/rtclient.h
index db9918e..dac2198 100644
--- a/rtclient/client.h
+++ b/rtclient.h
@@ -1,5 +1,5 @@
-#ifndef RTCLIENT_CLIENT_H
-#define RTCLIENT_CLIENT_H
+#ifndef RTCLIENT_H
+#define RTCLIENT_H
#ifdef __cplusplus
extern "C" {
@@ -13,4 +13,4 @@ extern "C" {
}
#endif
-#endif // RTCLIENT_CLIENT_H
+#endif