File: 1002_implicit-function-declaration.patch

package info (click to toggle)
engrampa 1.26.2-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 18,856 kB
  • sloc: ansic: 30,587; makefile: 454; xml: 95; perl: 50; sh: 47
file content (14 lines) | stat: -rw-r--r-- 450 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Fix "error: implicit declaration of function ‘strcasecmp’ [-Werror=implicit-function-declaration]"
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Forwarded: https://github.com/mate-desktop/engrampa/pull/516

--- a/src/file-utils.c
+++ b/src/file-utils.c
@@ -30,6 +30,7 @@
 #include <ctype.h>
 #include <time.h>
 #include <unistd.h>
+#include <strings.h>
 #include <sys/param.h>
 #include <sys/stat.h>
 #include <sys/time.h>