r26551: Make sure NULL is defined before using it to test for getifaddrs().