[fix] includes
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdlib.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include "string_utils.h"
|
#include "string_utils.h"
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
#ifndef LIBPOSTAL_PATHS_H
|
#ifndef LIBPOSTAL_CONFIG_H
|
||||||
#define LIBPOSTAL_PATHS_H
|
#define LIBPOSTAL_CONFIG_H
|
||||||
|
|
||||||
#include "file_utils.h"
|
|
||||||
|
|
||||||
#ifndef LIBPOSTAL_DATA_DIR
|
#ifndef LIBPOSTAL_DATA_DIR
|
||||||
#error LIBPOSTAL_DATA_DIR not defined!
|
#error LIBPOSTAL_DATA_DIR not defined!
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include "token_types.h"
|
#include "token_types.h"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|||||||
@@ -7,6 +7,8 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "klib/khash.h"
|
#include "klib/khash.h"
|
||||||
#include "collections.h"
|
#include "collections.h"
|
||||||
#include "string_utils.h"
|
#include "string_utils.h"
|
||||||
|
|||||||
@@ -5,6 +5,9 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "trie.h"
|
#include "trie.h"
|
||||||
|
|
||||||
#include "collections.h"
|
#include "collections.h"
|
||||||
|
|||||||
@@ -5,6 +5,8 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "klib/kvec.h"
|
#include "klib/kvec.h"
|
||||||
|
|
||||||
// Wrapper around kvec.h to provide dynamically allocated vectors
|
// Wrapper around kvec.h to provide dynamically allocated vectors
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
#ifndef VECTOR_MATH_H
|
#ifndef VECTOR_MATH_H
|
||||||
#define VECTOR_MATH_H
|
#define VECTOR_MATH_H
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include "vector.h"
|
#include "vector.h"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user