"Include what you use" for tests

Many of these tests implicitly required the target language library files to include the headers upstream.
This commit is contained in:
Seth R Johnson 2017-11-07 18:35:00 -05:00
commit feeb2516ae
17 changed files with 61 additions and 31 deletions

View file

@ -3,6 +3,7 @@
%newobject copy_string;
%inline %{
#include <stdlib.h>
#include <string.h>
const char* copy_string(const char* str) {
size_t len = strlen(str);