summaryrefslogtreecommitdiff
path: root/nncmpp.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2016-10-06 03:27:29 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2016-10-06 03:29:32 +0200
commitca38c1d91a472343de9e949b9d3fdd55a237f0ea (patch)
tree8a171616814985dd59e58c677971a2c2cc56ec45 /nncmpp.c
parentc6e337e5c5a03337001d204fba4b4959a8e411be (diff)
downloadnncmpp-ca38c1d91a472343de9e949b9d3fdd55a237f0ea.tar.gz
nncmpp-ca38c1d91a472343de9e949b9d3fdd55a237f0ea.tar.xz
nncmpp-ca38c1d91a472343de9e949b9d3fdd55a237f0ea.zip
Add CMakeLists.txt, link with cURL
My global .gitignore seems to be more trouble than it's worth.
Diffstat (limited to 'nncmpp.c')
-rw-r--r--nncmpp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/nncmpp.c b/nncmpp.c
index 03d5cdf..b42c4d5 100644
--- a/nncmpp.c
+++ b/nncmpp.c
@@ -103,7 +103,10 @@ enum
#include <uniwidth.h>
#include <uniconv.h>
-#define CTRL_KEY(x) ((x) - 'A' + 1)
+// We need cURL to extract links from Internet stream playlists. It'd be way
+// too much code to do this all by ourselves, and there's nothing better around.
+
+#include <curl/curl.h>
#define APP_TITLE PROGRAM_NAME ///< Left top corner