summaryrefslogtreecommitdiff
path: root/src/login_sql
diff options
context:
space:
mode:
Diffstat (limited to 'src/login_sql')
-rw-r--r--src/login_sql/login.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/login_sql/login.c b/src/login_sql/login.c
index c075c37c5..7d457b138 100644
--- a/src/login_sql/login.c
+++ b/src/login_sql/login.c
@@ -29,6 +29,7 @@ void Gettimeofday(struct timeval *timenow)
#include <sys/time.h>
#include <sys/ioctl.h>
#include <arpa/inet.h>
+#include <netdb.h>
#include <unistd.h>
#endif
#endif