"Include what you use" for tests

Using strcpy/strlen in global namespace requires `<string.h>`. Include
explicitly instead of assuming another SWIG or library header brings it
in.
This commit is contained in:
Seth R Johnson 2022-02-12 17:46:20 -05:00
commit c2c3f968df
3 changed files with 10 additions and 0 deletions

View file

@ -8,6 +8,7 @@
%inline %{
#include <stdlib.h>
#include <string.h>
#define BUFFER_SIZE_AA 8
#define BUFFER_SIZE_BB 5