Include stddef.h instead of stdio.h in the generated header

The sole reason for including this header seems to be to get size_t
declaration, so include the smallest header sufficient for this.

It would be even better to use a fragment for all size_t typemaps to only
include it if necessary, but it doesn't seem to be worth doing this right now.
This commit is contained in:
Vadim Zeitlin 2016-04-20 22:46:53 +02:00
commit e934c51425

View file

@ -17,4 +17,4 @@
# endif
#endif
#include <stdio.h>
#include <stddef.h>