[pango: 1/2] tabs: Fix build with clang in mingw




commit 25d9b8d47cf3614751e692aaecc61a953bdab927
Author: Biswapriyo Nath <nathbappai gmail com>
Date:   Fri Dec 3 14:19:32 2021 +0000

    tabs: Fix build with clang in mingw
    
    Include stdlib.h for qsort function declaration. This fixes the error:
    implicit declaration of function 'qsort' is invalid in C99

 pango/pango-tabs.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/pango/pango-tabs.c b/pango/pango-tabs.c
index 12c27200..947b7e9b 100644
--- a/pango/pango-tabs.c
+++ b/pango/pango-tabs.c
@@ -22,6 +22,7 @@
 #include "config.h"
 #include "pango-tabs.h"
 #include "pango-impl-utils.h"
+#include <stdlib.h>
 #include <string.h>
 
 typedef struct _PangoTab PangoTab;


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