[fix] includes

This commit is contained in:
Al
2015-08-07 01:00:26 -04:00
parent f246c2ee95
commit d7ebcd046e
8 changed files with 13 additions and 6 deletions

View File

@@ -6,7 +6,7 @@
extern "C" {
#endif
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include "string_utils.h"

View File

@@ -1,7 +1,5 @@
#ifndef LIBPOSTAL_PATHS_H
#define LIBPOSTAL_PATHS_H
#include "file_utils.h"
#ifndef LIBPOSTAL_CONFIG_H
#define LIBPOSTAL_CONFIG_H
#ifndef LIBPOSTAL_DATA_DIR
#error LIBPOSTAL_DATA_DIR not defined!

View File

@@ -5,6 +5,7 @@
extern "C" {
#endif
#include <stdlib.h>
#include <stdbool.h>
#include "token_types.h"

View File

@@ -5,7 +5,7 @@
extern "C" {
#endif
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <stdarg.h>

View File

@@ -7,6 +7,8 @@
extern "C" {
#endif
#include <stdlib.h>
#include "klib/khash.h"
#include "collections.h"
#include "string_utils.h"

View File

@@ -5,6 +5,9 @@
extern "C" {
#endif
#include <stdio.h>
#include <stdlib.h>
#include "trie.h"
#include "collections.h"

View File

@@ -5,6 +5,8 @@
extern "C" {
#endif
#include <stdlib.h>
#include "klib/kvec.h"
// Wrapper around kvec.h to provide dynamically allocated vectors

View File

@@ -1,6 +1,7 @@
#ifndef VECTOR_MATH_H
#define VECTOR_MATH_H
#include <stdlib.h>
#include <math.h>
#include "vector.h"