summaryrefslogtreecommitdiff
path: root/test/regress.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-04-11 21:33:27 -0400
committerNick Mathewson <nickm@torproject.org>2012-04-11 21:33:51 -0400
commitb62b31f1f10bf5c42d893020f7375a38785d5821 (patch)
tree8c6e9f881bd382ca92fb95b254bfe04afa73c9e7 /test/regress.h
parent53a07fe2f95c360d060b9fd58dfcd929c2c1aac2 (diff)
downloadlibevent-b62b31f1f10bf5c42d893020f7375a38785d5821.tar.gz
Work-around a stupid gcov-breaking bug in OSX 10.6
This only affects the unit tests. Fix found at http://rachelbythebay.com/w/2011/07/12/forkcrash/
Diffstat (limited to 'test/regress.h')
-rw-r--r--test/regress.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/regress.h b/test/regress.h
index 9c18569c..fed5150f 100644
--- a/test/regress.h
+++ b/test/regress.h
@@ -118,6 +118,8 @@ int test_ai_eq_(const struct evutil_addrinfo *ai, const char *sockaddr_port,
long timeval_msec_diff(const struct timeval *start, const struct timeval *end);
+pid_t regress_fork(void);
+
#ifdef __cplusplus
}
#endif