aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libred.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libred.h b/src/libred.h
index 9a2f7ba..5258de7 100644
--- a/src/libred.h
+++ b/src/libred.h
@@ -125,9 +125,15 @@ int libred_check_timetravel(void);
/**
* The file descriptor to the colour lookup table.
+ * -1 if none is open.
*/
extern int libred_fd;
+/**
+ * Iff this macro is define `libred_fd` is available.
+ */
+#define LIBRED_HAVE_FD 1
+
/**
* This function must be called, once,