Fix compilation of timeout.c with our flags and warnings.

This commit is contained in:
Nick Mathewson
2016-04-13 09:13:33 -04:00
parent 05499b6ded
commit 9d6c530015
3 changed files with 14 additions and 2 deletions
+7
View File
@@ -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