summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBiswapriyo Nath <nathbappai@gmail.com>2021-12-03 14:19:32 +0000
committerBiswapriyo Nath <nathbappai@gmail.com>2021-12-03 14:19:32 +0000
commit25d9b8d47cf3614751e692aaecc61a953bdab927 (patch)
tree889175e0d23caaa7f2ac3bfaf2a5fa9ab4f70bfd
parente80e224baabc7bf22971d0a97c8b31d32fa8ca1c (diff)
downloadpango-25d9b8d47cf3614751e692aaecc61a953bdab927.tar.gz
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
-rw-r--r--pango/pango-tabs.c1
1 files changed, 1 insertions, 0 deletions
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;