diff --git a/src/configfile.c b/src/configfile.c index f48772c..4acd4e9 100644 --- a/src/configfile.c +++ b/src/configfile.c @@ -19,7 +19,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. */ + #define _GNU_SOURCE + #include "config.h" #include #include diff --git a/src/misc.h b/src/misc.h index 6a54465..734cd9b 100644 --- a/src/misc.h +++ b/src/misc.h @@ -20,6 +20,7 @@ */ #pragma once + #define UNUSED(expr) do { (void)(expr); } while (0) char * current_time(void); diff --git a/src/socket.c b/src/socket.c index 801ef3f..ed09ff7 100644 --- a/src/socket.c +++ b/src/socket.c @@ -20,10 +20,6 @@ * 02110-1301, USA. */ -#include "socket.h" -#include "options.h" -#include "print.h" - #include #include #include @@ -33,6 +29,10 @@ #include #include +#include "socket.h" +#include "options.h" +#include "print.h" + #define MAX_SOCKET_CLIENTS 16 #define SOCKET_PORT_DEFAULT 3333