We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_POSIX_C_SOURCE
The definition of macro _POSIX_C_SOURCE makes some types in macOS undefined.
libmaxminddb/include/maxminddb.h
Line 17 in d918412
I got the following compilation error messages:
/xxxx/usr/include/sys/ucred.h:101:2: error: unknown type name 'u_int' u_int cr_version; /* structure layout version */ ^
See the https://stackoverflow.com/questions/15393905/c-pcap-library-unknown-types-error , the error is caused by definition of macro _POSIX_SOURCE.
_POSIX_SOURCE
Is it necessary to define this macro? Can it be removed?
The text was updated successfully, but these errors were encountered:
Yeah, we want it.
Adding this to your code may work (I'm not sure):
#include <sys/types.h>
Sorry, something went wrong.
No branches or pull requests
The definition of macro
_POSIX_C_SOURCE
makes some types in macOS undefined.libmaxminddb/include/maxminddb.h
Line 17 in d918412
I got the following compilation error messages:
See the https://stackoverflow.com/questions/15393905/c-pcap-library-unknown-types-error , the error is caused by definition of macro
_POSIX_SOURCE
.Is it necessary to define this macro? Can it be removed?
The text was updated successfully, but these errors were encountered: