|
From: Riccardo M. <ric...@li...> - 2014-01-14 10:05:03
|
Hi,
I'm trying to port a GNUstep Framework on windows.
The code accesses _res and uses stuff as res_init()
I tried to include resolv.conf, but it appears that headers it refers to
aren't there. I know my MinGW installation isn't latest, since it comes
from GNUstep itself, however, missing headers are not expected.
G:/GNUstep/mingw/include/resolv.h:65:23: warning: sys/cdefs.h: No such
file or directory
G:/GNUstep/mingw/include/resolv.h:66:24: warning: sys/socket.h: No such
file or directory
In file included from G:/GNUstep/mingw/include/resolv.h:68,
from CWDNSManager.m:37:
G:/GNUstep/mingw/include/arpa/nameser.h:122: error: syntax error before
"u_int16_t"
G:/GNUstep/mingw/include/arpa/nameser.h:122: warning: no semicolon at
end of struct or union
G:/GNUstep/mingw/include/arpa/nameser.h:127: error: syntax error before
'}' token
G:/GNUstep/mingw/include/arpa/nameser.h:127: warning: type defaults to
`int' in declaration of `ns_msg'
G:/GNUstep/mingw/include/arpa/nameser.h:127: warning: data definition
has no type or storage class
G:/GNUstep/mingw/include/arpa/nameser.h:146: error: syntax error before
"u_int16_t"
Do I miss to import some headers before resolv.h? Or is my release
inconsistent?
Thanks,
Riccardo
|