-
- Downloads
When including an -internal.h header outside the main tree, do so early
Some of our unit tests and sample code need functions and structures defined in an -internal.h header. But that can freak out OpenSolaris, where stdio.h wants to define _FILE_OFFSET_BITS unless it's already defined, and then evconfig-internal.h defines it. Regular users should never ever use our -internal.h headers, so the solution is to make sure that if we're going to use them ourselves, we do so before system headers.
Showing
- sample/http-server.c 3 additions, 3 deletionssample/http-server.c
- test/bench_httpclient.c 3 additions, 3 deletionstest/bench_httpclient.c
- test/regress.c 1 addition, 1 deletiontest/regress.c
- test/regress_buffer.c 1 addition, 1 deletiontest/regress_buffer.c
- test/regress_bufferevent.c 1 addition, 0 deletionstest/regress_bufferevent.c
- test/regress_dns.c 1 addition, 2 deletionstest/regress_dns.c
- test/regress_http.c 1 addition, 1 deletiontest/regress_http.c
- test/regress_listener.c 1 addition, 1 deletiontest/regress_listener.c
- test/regress_main.c 1 addition, 0 deletionstest/regress_main.c
- test/regress_minheap.c 1 addition, 1 deletiontest/regress_minheap.c
- test/regress_testutils.c 1 addition, 2 deletionstest/regress_testutils.c
- test/regress_thread.c 2 additions, 2 deletionstest/regress_thread.c
- test/regress_util.c 2 additions, 1 deletiontest/regress_util.c
- test/test-ratelim.c 1 addition, 1 deletiontest/test-ratelim.c
- test/tinytest.c 3 additions, 4 deletionstest/tinytest.c
- test/tinytest_local.h 1 addition, 1 deletiontest/tinytest_local.h
Loading
Please register or sign in to comment