mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
lib/conf: include torint.h in files that use it.
This frees us from some dependencies on include order.
This commit is contained in:
@@ -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`.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user