Browse Source

Fix building with libedit.

tags/v1.9.11-RC1
Karl Linden 9 years ago
parent
commit
7bdad4966b
No known key found for this signature in database GPG Key ID: 764C09795C812B97
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      example-clients/transport.c

+ 4
- 1
example-clients/transport.c View File

@@ -31,7 +31,10 @@
#include <jack/jack.h> #include <jack/jack.h>
#include <jack/transport.h> #include <jack/transport.h>


#if !HAVE_READLINE
/* Use a copy of the readline macro whitespace if it does not exist.
* Not all readline compatible libraries supply the whitespace macro
* (libedit for example), so pull in the copy in those cases too. */
#if !HAVE_READLINE || !defined(whitespace)
#define whitespace(c) (((c) == ' ') || ((c) == '\t')) #define whitespace(c) (((c) == ' ') || ((c) == '\t'))
#endif #endif




Loading…
Cancel
Save