summaryrefslogtreecommitdiff
path: root/libbb/xgethostbyname.c
diff options
context:
space:
mode:
authorMatt Kraai2001-05-16 17:05:03 +0000
committerMatt Kraai2001-05-16 17:05:03 +0000
commit8f7a4ad4427614e28f2c51a4caa62c8ad9a78d8f (patch)
tree5ceefb3d6bc0f65a05c76e8c52077b0bacaa91a7 /libbb/xgethostbyname.c
parentbf381a0ad83a77d054a99da2b585c43dfe71c6d1 (diff)
downloadbusybox-8f7a4ad4427614e28f2c51a4caa62c8ad9a78d8f.zip
busybox-8f7a4ad4427614e28f2c51a4caa62c8ad9a78d8f.tar.gz
Add missing include, noted by Larry Doolittle.
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;