[libsoup/pgriffis/msvc-size_t: 3/3] Fix ssize_t not being defined on msvc




commit 75a765a64a1beccd0b7ff145085d025b49c65c4d
Author: Patrick Griffis <pgriffis igalia com>
Date:   Mon Aug 29 11:41:37 2022 -0500

    Fix ssize_t not being defined on msvc
    
    We alias ssize_t to gssize so the glib header must be included first.

 libsoup/soup-http2-utils.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/libsoup/soup-http2-utils.c b/libsoup/soup-http2-utils.c
index 3bacf2c3..a2d33e16 100644
--- a/libsoup/soup-http2-utils.c
+++ b/libsoup/soup-http2-utils.c
@@ -2,9 +2,10 @@
  * Copyright 2022 Igalia, S.L.
  */
 
-#include "soup-http2-utils.h"
 #include <glib.h>
 
+#include "soup-http2-utils.h"
+
 const char *
 soup_http2_io_state_to_string (SoupHTTP2IOState state)
 {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]