"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:
parent
c1258323b1
commit
feeb2516ae
17 changed files with 61 additions and 31 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue