gnetworking: Hide POSIX networking symbols from g-ir-scanner

They’re not part of the GLib API and don’t need to be exposed to the
scanner.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>

Helps: #3037
This commit is contained in:
Philip Withnall 2023-11-29 11:57:20 +00:00
parent 2a8b0c2388
commit f50ef45220

View File

@ -49,6 +49,8 @@
#include <arpa/nameser.h>
@NAMESER_COMPAT_INCLUDE@
#ifndef __GI_SCANNER__
#ifndef T_SRV
#define T_SRV 33
#endif
@ -71,6 +73,8 @@
#endif
#endif
#endif /* !__GI_SCANNER__ */
G_BEGIN_DECLS
GIO_AVAILABLE_IN_2_36