1
0
Fork 0

Fix: Corrected header includes

This commit is contained in:
Philipp Schafft 2018-11-02 11:20:04 +00:00
parent a94db086b8
commit 2621d4bb6e
24 changed files with 35 additions and 28 deletions

View File

@ -28,5 +28,7 @@ libigloo_la_LIBADD = \
pkgconfig_DATA = igloo.pc
AM_CFLAGS = -I$(top_srcdir)/include
static:
$(MAKE) all LDFLAGS="${LDFLAGS} -all-static"

View File

@ -8,7 +8,7 @@ noinst_LTLIBRARIES = libiceavl.la
libiceavl_la_SOURCES = avl.c
AM_CPPFLAGS = -I$(srcdir)/..
AM_CFLAGS = -I$(top_srcdir)/include
debug:
$(MAKE) all CFLAGS="@DEBUG@"

View File

@ -37,7 +37,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "../include/igloo/avl.h"
#include <igloo/avl.h>
igloo_avl_node *
igloo_avl_node_new (void * key,

View File

@ -1,5 +1,5 @@
#include <stdio.h>
#include "../include/igloo/avl.h"
#include <igloo/avl.h>
#ifdef _WIN32
#define snprintf _snprintf

View File

@ -5,7 +5,8 @@ AUTOMAKE_OPTIONS = foreign
noinst_LTLIBRARIES = libicehttpp.la
libicehttpp_la_SOURCES = httpp.c encoding.c
AM_CPPFLAGS = -I$(srcdir)/..
AM_CFLAGS = -I$(top_srcdir)/include
# SCCS stuff (for BitKeeper)
GET = true

View File

@ -32,7 +32,7 @@
#include <stdlib.h>
#include <stdio.h>
#include "../include/igloo/encoding.h"
#include <igloo/encoding.h>
struct igloo_httpp_encoding_tag {
size_t refc;

View File

@ -38,8 +38,8 @@
#include <strings.h>
#endif
#include "../include/igloo/avl.h"
#include "../include/igloo/httpp.h"
#include <igloo/avl.h>
#include <igloo/httpp.h>
#define MAX_HEADERS 32

View File

@ -1,7 +1,7 @@
#include <stdio.h>
#include <avl/avl.h>
#include "../include/igloo/httpp.h"
#include <igloo/httpp.h>
int main(int argc, char **argv)

View File

@ -12,11 +12,11 @@
extern "C" {
#endif
#include "config.h"
#include <igloo/config.h>
#define AVL_KEY_PRINTER_BUFLEN (256)
#include "thread.h"
#include <igloo/thread.h>
typedef struct igloo_avl_node_tag {
void * key;

View File

@ -27,7 +27,7 @@
#ifndef _LIBIGLOO__HTTPP_H_
#define _LIBIGLOO__HTTPP_H_
#include "avl.h"
#include <igloo/avl.h>
#define igloo_HTTPP_VAR_PROTOCOL "__protocol"
#define igloo_HTTPP_VAR_VERSION "__version"

View File

@ -28,7 +28,7 @@
#ifndef _LIBIGLOO__SOCK_H_
#define _LIBIGLOO__SOCK_H_
#include "config.h"
#include <igloo/config.h>
#include <stdarg.h>

View File

@ -27,7 +27,7 @@
#ifndef _LIBIGLOO__THREAD_H_
#define _LIBIGLOO__THREAD_H_
#include "config.h"
#include <igloo/config.h>
#include <pthread.h>

View File

@ -28,7 +28,7 @@
#ifndef _LIBIGLOO__TIMING_H_
#define _LIBIGLOO__TIMING_H_
#include "config.h"
#include <igloo/config.h>
#include <sys/types.h>
#ifdef IGLOO_CTC_HAVE_INTTYPES_H

View File

@ -8,6 +8,8 @@ noinst_LTLIBRARIES = libicelog.la
libicelog_la_SOURCES = log.c
AM_CFLAGS = -I$(top_srcdir)/include
debug:
$(MAKE) all CFLAGS="@DEBUG@"

View File

@ -51,7 +51,7 @@
#include <windows.h>
#endif
#include "../include/igloo/log.h"
#include <igloo/log.h>
#define LOG_MAXLOGS 25
#define LOG_MAXLINELEN 1024

View File

@ -1,4 +1,4 @@
#include "../include/igloo/log.h"
#include <igloo/log.h>
#define CATMODULE "test"

View File

@ -8,7 +8,7 @@ noinst_LTLIBRARIES = libicenet.la
libicenet_la_SOURCES = sock.c resolver.c
AM_CPPFLAGS = -I$(srcdir)/..
AM_CFLAGS = -I$(top_srcdir)/include
debug:
$(MAKE) all CFLAGS="@DEBUG@"

View File

@ -42,7 +42,7 @@
#endif
#ifndef NO_THREAD
#include "../include/igloo/thread.h"
#include <igloo/thread.h>
#else
#define igloo_thread_mutex_create(x) do{}while(0)
#define igloo_thread_mutex_destroy(x) do{}while(0)
@ -50,8 +50,8 @@
#define igloo_thread_mutex_unlock(x) do{}while(0)
#endif
#include "../include/igloo/resolver.h"
#include "../include/igloo/sock.h"
#include <igloo/resolver.h>
#include <igloo/sock.h>
/* internal function */

View File

@ -56,8 +56,8 @@
#include <winsock2.h>
#endif
#include "../include/igloo/sock.h"
#include "../include/igloo/resolver.h"
#include <igloo/sock.h>
#include <igloo/resolver.h>
/* for older C libraries */
#ifndef AI_NUMERICSERV

View File

@ -1,7 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "../include/igloo/resolver.h"
#include <igloo/resolver.h>
int main()
{

View File

@ -8,7 +8,7 @@ noinst_LTLIBRARIES = libicethread.la
libicethread_la_SOURCES = thread.c
AM_CPPFLAGS = -I$(srcdir)/..
AM_CFLAGS = -I$(top_srcdir)/include
debug:
$(MAKE) all CFLAGS="@DEBUG@"

View File

@ -47,10 +47,10 @@
#include <signal.h>
#include "../include/igloo/thread.h"
#include "../include/igloo/avl.h"
#include <igloo/thread.h>
#include <igloo/avl.h>
#ifdef THREAD_DEBUG
#include "../include/igloo/log.h"
#include <igloo/log.h>
#endif
#ifdef _WIN32

View File

@ -8,6 +8,8 @@ noinst_LTLIBRARIES = libicetiming.la
libicetiming_la_SOURCES = timing.c
AM_CFLAGS = -I$(top_srcdir)/include
debug:
$(MAKE) all CFLAGS="@DEBUG@"

View File

@ -59,7 +59,7 @@
#include <sys/timeb.h>
#endif
#include "../include/igloo/timing.h"
#include <igloo/timing.h>
/*
* Returns milliseconds no matter what.