pud: update nmealib 32/64 cross compilation

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Revert "pud: update nmealib 32/64 cross compilation"

This reverts commit d19b7f869ca25c559e68e185ce2c8a1e999504de.
It breaks the Android build.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
main: fix 2 minor warnings for win64 build on debian squeeze

src/main.c: In function ‘writePidFile’:
src/main.c:237: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘pid_t’
src/main.c:241: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘pid_t’

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
make: only install sgw related files when sgw is supported

Which is for Linux and Android

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
mdns: fix container_of pointer arith

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
mdns: don't use non-standard ushot type

src/mdns.c: In function 'ip_checksum':
src/mdns.c:94:19: error: 'ushort' undeclared (first use in this function)

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
mdns: fix three alignment warnings

src/NetworkInterfaces.c: In function 'CreateRouterElectionSocket':
src/NetworkInterfaces.c:288:16: error: cast increases required alignment of target type [-Werror=cast-align]
src/NetworkInterfaces.c: In function 'CreateHelloSocket':
src/NetworkInterfaces.c:383:16: error: cast increases required alignment of target type [-Werror=cast-align]
src/mdns.c: In function 'ip_checksum':
src/mdns.c:94:18: error: cast increases required alignment of target type [-Werror=cast-align]

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
mdns: supported on Android

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
p2pd: supported on Android

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
make: ensure win32 install respects DESTDIR

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>