include config.h in r3.h

This commit is contained in:
c9s 2014-05-22 16:32:06 +08:00
parent a5035ad962
commit 21a8c0c891

View file

@ -16,6 +16,7 @@
#include "r3_define.h" #include "r3_define.h"
#include "str_array.h" #include "str_array.h"
#include "config.h"
#ifdef HAVE_STDINT_H #ifdef HAVE_STDINT_H
#include <stdint.h> #include <stdint.h>
@ -38,10 +39,10 @@ typedef struct _route route;
struct _node { struct _node {
edge ** edges; edge ** edges;
route ** routes; route ** routes;
int edge_len; uint32_t edge_len;
int edge_cap; uint32_t edge_cap;
int route_len; uint32_t route_len;
int route_cap; uint32_t route_cap;
int endpoint; int endpoint;
/** compile-time variables here.... **/ /** compile-time variables here.... **/