ladybird/Ports/mandoc/patches/0007-Use-the-patched-in-version-of-glob.h.patch

31 lines
694 B
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Brian Callahan <bcallah@openbsd.org>
Date: Thu, 23 Dec 2021 11:13:14 +0100
Subject: [PATCH] Use the patched-in version of glob.h
Co-Authored-By: Daniel Bertalan <dani@danielbertalan.dev>
---
main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main.c b/main.c
index b91c158..cb785cd 100644
--- a/main.c
+++ b/main.c
@@ -30,7 +30,6 @@
#endif
#include <errno.h>
#include <fcntl.h>
-#include <glob.h>
#if HAVE_SANDBOX_INIT
#include <sandbox.h>
#endif
@@ -54,6 +53,7 @@
#include "main.h"
#include "manconf.h"
#include "mansearch.h"
+#include "glob.h"
enum outmode {
OUTMODE_DEF = 0,