test_gethostent: improve compileability

This commit is contained in:
rofl0r 2019-09-07 15:22:41 +01:00
parent 962373e5c6
commit ea187938e1

View File

@ -1,6 +1,6 @@
#include <netdb.h> #include <netdb.h>
#include <stdio.h> #include <stdio.h>
#include "../src/common.h" #include "../src/common.c"
void printhostent(struct hostent *hp) { void printhostent(struct hostent *hp) {
char ipbuf[16]; char ipbuf[16];