DDE socket() include
Julie Stamp (8365) 474 posts |
Edit: I solved this by adding #include “sys/types.h” before my includes, and putting ${UNIXLIB} ${INETLIB} ${SOCK4LIB} on the end of my LIBS. Hello, I want to use socket() etc. in my module. I’ve got a test which builds fine with !GCC – I didn’t have to change my makefile at all, I just put the includes in. But in DDE I don’t know how to make it work. These are the errors I get…
followed by loads more. This is my Makefile.
and these are the includes
The includes are coming from the export from the OS source tree. |
Colin (478) 2433 posts |
If you are using SOCK4LIB you need
but to use SOCK5LIB – the default – you just need
NET4LIBS or NET5LIBS replace the libs you mentioned in your edit. |
Julie Stamp (8365) 474 posts |
That makes things simpler. Thanks! |