From a0b207164c6c943adb8b3bf89b375a491b41806a Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 14 Dec 2012 17:38:18 +0100 Subject: setup_once.h: refactor inclusion of and Inclusion of top two most included header files now done in setup_once.h --- lib/setup_once.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/setup_once.h') diff --git a/lib/setup_once.h b/lib/setup_once.h index 0bf49b72e..effe14bc3 100644 --- a/lib/setup_once.h +++ b/lib/setup_once.h @@ -83,6 +83,14 @@ #include #endif +#ifdef HAVE_UNISTD_H +#include +#endif + +#ifdef HAVE_SYS_SOCKET_H +#include +#endif + /* * Definition of timeval struct for platforms that don't have it. -- cgit v1.2.3