This is just hypothetical. I think calls to <sys/time.h> require BSD function definitions. The old way was to define _BSD_SOURCE but it is included in the new way, _DEFAULT_SOURCE which also adds some POSIX stuff for c99.
You might look at raylib/src/external/dr_flac.h:682. where _BSD_SOURCE is defined. They should update, btw. One could do -D_DEFAULT_SOURCE -D_BSD_SOURCE to catch old systems too .My problem was not having either defined in raylib.
Here is my reference.
Again, just something to look at. You might want to do it for portability outside of raylib where it has already been merged. Have a great day!
This is just hypothetical. I think calls to <sys/time.h> require BSD function definitions. The old way was to define _BSD_SOURCE but it is included in the new way, _DEFAULT_SOURCE which also adds some POSIX stuff for c99.
You might look at raylib/src/external/dr_flac.h:682. where _BSD_SOURCE is defined. They should update, btw. One could do -D_DEFAULT_SOURCE -D_BSD_SOURCE to catch old systems too .My problem was not having either defined in raylib. Here is my reference.
Again, just something to look at. You might want to do it for portability outside of raylib where it has already been merged. Have a great day!