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:
parent
b7bd0165e8
commit
e934c51425
1 changed files with 1 additions and 1 deletions
|
|
@ -17,4 +17,4 @@
|
|||
# endif
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stddef.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue