nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1diff --git a/src/rwpng.c b/src/rwpng.c
2index aaa21fc..11d698f 100644
3--- a/src/rwpng.c
4+++ b/src/rwpng.c
5@@ -30,10 +30,12 @@
6 ---------------------------------------------------------------------------*/
7
8 #include <stdio.h>
9+#include <string.h>
10 #include <stdlib.h>
11
12 #include "png.h" /* libpng header; includes zlib.h */
13 #include "rwpng.h" /* typedefs, common macros, public prototypes */
14+#include <zlib.h>
15
16 /* future versions of libpng will provide this macro: */
17 /* GRR NOTUSED */