summaryrefslogtreecommitdiff
path: root/libbb/xgethostbyname.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/xgethostbyname.c')
-rw-r--r--libbb/xgethostbyname.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbb/xgethostbyname.c b/libbb/xgethostbyname.c
index c722951..2585103 100644
--- a/libbb/xgethostbyname.c
+++ b/libbb/xgethostbyname.c
@@ -24,6 +24,8 @@
#include <netdb.h>
extern int h_errno;
+#include "libbb.h"
+
struct hostent *xgethostbyname(const char *name)
{
struct hostent *retval;