Skip to content

Commit ffd1823

Browse files
committed
linenoise BUGFIX avoid header macro issues
1 parent 2141fe0 commit ffd1823

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tools/lint/linenoise/utf8.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@
4141
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4242
*/
4343

44+
#define _GNU_SOURCE /* required for compat.h before including any other headers */
45+
4446
#include <unistd.h>
4547
#include <stdio.h>
4648

0 commit comments

Comments
 (0)