diff options
-rw-r--r-- | Makefile.am | 4 | ||||
-rw-r--r-- | client.c | 2 | ||||
-rw-r--r-- | main.c | 2 | ||||
-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 @@ -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; @@ -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 |