mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Fix compilation of timeout.c with our flags and warnings.
This commit is contained in:
@@ -23,6 +23,9 @@
|
||||
* USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
* ==========================================================================
|
||||
*/
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "orconfig.h"
|
||||
#endif
|
||||
#include <limits.h> /* CHAR_BIT */
|
||||
|
||||
#include <stddef.h> /* NULL */
|
||||
@@ -39,6 +42,10 @@
|
||||
|
||||
#include "timeout.h"
|
||||
|
||||
#ifndef TIMEOUT_DEBUG
|
||||
#define TIMEOUT_DEBUG 0
|
||||
#endif
|
||||
|
||||
#if TIMEOUT_DEBUG - 0
|
||||
#include "timeout-debug.h"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user