summaryrefslogtreecommitdiff
path: root/graphics/asymptote/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/common.h')
-rw-r--r--graphics/asymptote/common.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/asymptote/common.h b/graphics/asymptote/common.h
index 541a43d3ce..8b45967d1f 100644
--- a/graphics/asymptote/common.h
+++ b/graphics/asymptote/common.h
@@ -17,10 +17,15 @@
#endif
#if !defined(FOR_SHARED) && \
- ((defined(HAVE_LIBGL) && defined(HAVE_LIBGLUT) && defined(HAVE_LIBGLM)) || defined(HAVE_LIBOSMESA))
+ ((defined(HAVE_LIBGL) && defined(HAVE_LIBGLUT) && defined(HAVE_LIBGLM)) || \
+ defined(HAVE_LIBOSMESA))
#define HAVE_GL
#endif
+#if defined(HAVE_LIBREADLINE) || defined(HAVE_LIBEDIT)
+#define HAVE_READLINE
+#endif
+
#ifdef HAVE_PTHREAD
#include <pthread.h>
#endif