diff --git a/build.sh b/build.sh index ae425e18..da58b7da 100755 --- a/build.sh +++ b/build.sh @@ -34,7 +34,7 @@ if [[ -x "$(command -v pkg-config)" ]]; then cc_render="$(pkg-config --cflags --libs gl egl)" else cc_font_provider="-I/usr/include/freetype2 -lfreetype" - cc_os_gfx="-lX11 -lXext -lXFixes" + cc_os_gfx="-lX11 -lXext -lXfixes" cc_render="-lGL -lEGL" fi diff --git a/src/socket/socket.c b/src/socket/socket.c index 8accf484..b52c0b84 100644 --- a/src/socket/socket.c +++ b/src/socket/socket.c @@ -70,6 +70,8 @@ sock_endpoint_from_string_port(String8 address, U16 port) } }break; } + + return ep; } internal SOCK_Endpoint diff --git a/src/torture/torture_main.c b/src/torture/torture_main.c index 71cb36bb..a555e1ac 100644 --- a/src/torture/torture_main.c +++ b/src/torture/torture_main.c @@ -33,6 +33,7 @@ #include "metagen/metagen.h" #include "window_manager/window_manager_inc.h" #include "shell/shell_inc.h" +#include "socket/socket_inc.h" #include "http/http_inc.h" #include "symbol_server/symbol_server_inc.h" #include "config/config_inc.h" @@ -117,6 +118,7 @@ #include "metagen/metagen.c" #include "window_manager/window_manager_inc.c" #include "shell/shell_inc.c" +#include "socket/socket_inc.c" #include "http/http_inc.c" #include "symbol_server/symbol_server_inc.c" #include "config/config_inc.c"