summaryrefslogtreecommitdiff
path: root/package/firefox/patches/patch-extensions_spellcheck_hunspell_src_hunspell_alloc_hooks_h
blob: 5b361b846ad8e7264a11161d9991d6a67609c8d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- mozilla-release.orig/extensions/spellcheck/hunspell/src/hunspell_alloc_hooks.h	2013-09-11 01:15:00.000000000 +0200
+++ mozilla-release/extensions/spellcheck/hunspell/src/hunspell_alloc_hooks.h	2013-10-24 11:28:30.000000000 +0200
@@ -33,6 +33,8 @@
 
 #ifndef alloc_hooks_h__
 #define alloc_hooks_h__
+/* prevent free/calloc from sched.h to be included */
+#undef _GNU_SOURCE
 
 /**
  * This file is force-included in hunspell code.  Its purpose is to add memory