blob: f1eb202107da5b22d9fe4e1f91491009b1fed51a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Andreas Kling <kling@serenityos.org>
Date: Tue, 15 Dec 2020 01:06:18 +0100
Subject: [PATCH] Include ar.h for serenity as well
---
src/arscan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/arscan.c b/src/arscan.c
index 3ce21db..c48a569 100644
--- a/src/arscan.c
+++ b/src/arscan.c
@@ -331,7 +331,7 @@ ar_scan (const char *archive, ar_member_func_t function, const void *varg)
#endif
#ifndef WINDOWS32
-# if !defined (__ANDROID__) && !defined (__BEOS__)
+# if !defined (__ANDROID__) && !defined (__BEOS__) && !defined(__serenity__)
# include <ar.h>
# else
/* These platforms don't have <ar.h> but have archives in the same format
|