Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libpng16's png.h doesn't include zlib.h
- Loading branch information
Showing
2 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
From b6d23fd4e8212d90a7914b4c29209f6d146faf8d Mon Sep 17 00:00:00 2001 | ||
From: Giannis Damigos <giannis.damigos@gmail.com> | ||
Date: Tue, 5 Nov 2013 12:56:12 +0200 | ||
Subject: [PATCH] Include zlib | ||
|
||
--- | ||
fbgrab.c | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/fbgrab.c b/fbgrab.c | ||
index fc89f5a..3c3e4b0 100644 | ||
--- a/fbgrab.c | ||
+++ b/fbgrab.c | ||
@@ -24,6 +24,7 @@ | ||
#include <sys/vt.h> /* to handle vt changing */ | ||
#include <png.h> /* PNG lib */ | ||
#include <linux/fb.h> /* to handle framebuffer ioctls */ | ||
+#include <zlib.h> | ||
|
||
#define VERSION "1.0 beta 1" | ||
#define DEFAULT_FB "/dev/fb0" | ||
-- | ||
1.8.4.2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters