test_gethostent: improve compileability
parent
962373e5c6
commit
ea187938e1
|
@ -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];
|
||||||
|
|
Loading…
Reference in New Issue