[Commits] [SCM] claws branch, master, updated. 4.1.0-70-g5be706bb7

jonathan at claws-mail.org jonathan at claws-mail.org
Sun Oct 9 10:21:46 CEST 2022


The branch, master has been updated
       via  5be706bb7b9eeffdf8b6561d8b8ddc2ad64692cb (commit)
      from  85f18a81a1b53aa66196f2e38aa9a419a0a814fd (commit)

Summary of changes:
 src/prefs_account.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit 5be706bb7b9eeffdf8b6561d8b8ddc2ad64692cb
Author: Jonathan Boeing <jonathan at claws-mail.org>
Date:   Sat Oct 8 23:40:58 2022 -0700

    Fix building on Windows

diff --git a/src/prefs_account.c b/src/prefs_account.c
index e291a19f2..7221df530 100644
--- a/src/prefs_account.c
+++ b/src/prefs_account.c
@@ -26,6 +26,9 @@
 #ifdef G_OS_WIN32
 #include <winsock2.h>
 #include <ws2tcpip.h>
+#else
+#include <sys/socket.h>
+#include <netinet/in.h>
 #endif
 
 #include <glib.h>
@@ -36,8 +39,6 @@
 #include <stdio.h>
 #include <sys/types.h>
 #include <sys/stat.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
 #include <string.h>
 #include <stdlib.h>
 #include <ctype.h>

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list