I'm building an out-of-tree application which uses some system calls, so I thought I'd use GNUNET_log_strerror when an error occurs (i.e. the function returns -1.) However, when I try to compile the application, the compiler fails saying that STRERROR (all caps) is undefined.
The problem is caused by the fact that GNUnet's headers assume to have plibc.h always available, but that header is not included within those headers. The GNUnet documentation doesn't say if it should be included when building an application or not (neither gnunet-ext nor the handbook), so it's unclear how to proceed. plibc.h should probably be always included by placing the #include directive within one of the installed GNUnet headers. Sincerely, A.V. _______________________________________________ Bug-GNUnet mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-gnunet
