19 lines
419 B
Diff
19 lines
419 B
Diff
--- a/bwbar.c 2011-12-06 10:00:01.352136282 +0100
|
|
+++ b/bwbar.c 2011-12-06 09:59:56.283150202 +0100
|
|
@@ -30,6 +30,7 @@
|
|
#include <alloca.h>
|
|
#include <getopt.h>
|
|
#include <png.h>
|
|
+#include <zlib.h>
|
|
|
|
void skipline(FILE *f)
|
|
{
|
|
@@ -79,7 +80,7 @@
|
|
if ( !info_ptr )
|
|
goto barf;
|
|
|
|
- if ( setjmp(png_ptr->jmpbuf) ) {
|
|
+ if ( setjmp(png_jmpbuf((png_ptr))) ) {
|
|
status = 1;
|
|
goto barf; /* libpng abort */
|
|
}
|