File: 03_image_gccwarn.diff

package info (click to toggle)
ziproxy 3.3.2-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,184 kB
  • sloc: ansic: 9,864; sh: 1,705; makefile: 37
file content (17 lines) | stat: -rw-r--r-- 486 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Fix gcc warning of implicit-declaration to memcpy function.
Author: Marcos Talau <marcos@talau.info>
Forwarded: https://sourceforge.net/p/ziproxy/bugs/36/
Last-Update: 2021-06-04

Index: ziproxy-3.3.2/src/image.c
===================================================================
--- ziproxy-3.3.2.orig/src/image.c
+++ ziproxy-3.3.2/src/image.c
@@ -56,6 +56,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <assert.h>
 
 #include <gif_lib.h>