stdio_ext.h needs to include stdio.h, at least to get FILE...
[musl] / src / stdlib / div.c
1 #include <stdlib.h>
2
3 div_t div(int num, int den)
4 {
5         return (div_t){ num/den, num%den };
6 }