Skip to content

Commit

Permalink
Fix libmng test.
Browse files Browse the repository at this point in the history
libmng pulls in libjpeg. In turn libjpeg requires that code that uses it should
include stdio.h [0].

[0] <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=461602#10>

So adding the corresponding include before libmng solves the issue.

(cherry picked from qtimageformats/08f40bc0f00716c3a8cbda70ed00dc2f16515e85)
Change-Id: Ib249fa9d867536c19be8e376f6c5595080cab006
Reviewed-by: Dmitry Shachnev <[email protected]>
Reviewed-by: Lars Knoll <[email protected]>
  • Loading branch information
perezmeyer committed Sep 25, 2014
1 parent 6a7f06d commit d1b700e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config.tests/unix/libmng/libmng.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
**
****************************************************************************/

#include <stdio.h>
#include <libmng.h>

int main(int, char **)
Expand Down

0 comments on commit d1b700e

Please sign in to comment.