lib/conf: include torint.h in files that use it.

This frees us from some dependencies on include order.
This commit is contained in:
Nick Mathewson
2020-01-09 07:30:35 -05:00
parent 8d4b4aa932
commit 25354171b5
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -51,6 +51,7 @@
#undef CONF_CONTEXT
#include "lib/cc/tokpaste.h"
#include "lib/cc/torint.h"
/**
* Begin the definition of a configuration object called `name`.
+2
View File
@@ -12,6 +12,8 @@
#ifndef TOR_LIB_CONF_CONFTESTING_H
#define TOR_LIB_CONF_CONFTESTING_H
#include "lib/cc/torint.h"
#ifndef COCCI
#ifdef TOR_UNIT_TESTS
#define USE_CONF_TESTING