aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_channeltls.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-07-28 10:47:46 -0400
committerNick Mathewson <nickm@torproject.org>2016-07-28 10:47:46 -0400
commit94bff894f9e127888f15ec2333f86d0388e4da7d (patch)
treeaa46d8004f3b51ef99484ac8ade17f78ce418ac3 /src/test/test_channeltls.c
parentc1bfa65211257e5efb89c5ebc534339d52fa77c4 (diff)
downloadtor-94bff894f9e127888f15ec2333f86d0388e4da7d.tar.gz
tor-94bff894f9e127888f15ec2333f86d0388e4da7d.zip
Fix a large pile of solaris warnings for bug 19767.
In nearly all cases, this is a matter of making sure that we include orconfig.h before we include any standard c headers.
Diffstat (limited to 'src/test/test_channeltls.c')
-rw-r--r--src/test/test_channeltls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test_channeltls.c b/src/test/test_channeltls.c
index 04ae9a6da7..fda466fc82 100644
--- a/src/test/test_channeltls.c
+++ b/src/test/test_channeltls.c
@@ -1,6 +1,8 @@
/* Copyright (c) 2014-2016, The Tor Project, Inc. */
/* See LICENSE for licensing information */
+#include "orconfig.h"
+
#include <math.h>
#define TOR_CHANNEL_INTERNAL_