summaryrefslogtreecommitdiff
path: root/sys-fs/hfsutils/files/hfsutils-3.2.6_p15-Include-string.h-for-strcmp.patch
blob: 4b9db273ec40ebeb42452216f6505b929a2a1e9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
https://bugs.gentoo.org/871165

From 065e349d0a0e1db9fda99f90ff825b7934f191da Mon Sep 17 00:00:00 2001
From: Sam James <sam@gentoo.org>
Date: Sun, 16 Oct 2022 18:18:58 +0100
Subject: [PATCH] Include <string.h> for strcmp

--- a/hpwd.c
+++ b/hpwd.c
@@ -24,6 +24,7 @@
 # endif
 
 # include <stdio.h>
+# include <string.h>
 
 # include "hfs.h"
 # include "hcwd.h"