1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
From: Joshua Root <jmr@macports.org>
Date: Fri, 19 Feb 2021 15:22:41 +0000
Subject: Fix warning about implicit declaration of function 'quote'
---
urlview.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/urlview.c b/urlview.c
index 9281bbb..7416dfc 100644
--- a/urlview.c
+++ b/urlview.c
@@ -46,6 +46,8 @@
#include <rx/rxposix.h>
#endif
+#include "quote.h"
+
#define DEFAULT_REGEXP "(((http|https|ftp|gopher)|mailto):(//)?[^ <>\"\t]*|(www|ftp)[0-9]?\.[-a-z0-9.]+)[^ .,;\t\n\r<\">\):]?[^, <>\"\t]*[^ .,;\t\n\r<\">\):]"
#define DEFAULT_COMMAND "/etc/urlview/url_handler.sh %s"
#define SYSTEM_INITFILE "/etc/urlview/system.urlview"
|