Skip to content

Commit c248385

Browse files
committed
Include cstdio before readline (only in Fedora)
This issue is first found in fedora, while I was setting up my new laptop. https://stackoverflow.com/questions/28008167/errors-when-trying-to-build-in-cygwin
1 parent d5800ad commit c248385

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/yt_run_InteractiveMode.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#include "timer.h"
44

55
#ifdef INTERACTIVE_MODE
6+
#include <cstdio>
67
#include <readline/readline.h>
78

89
#include <cctype>

src/yt_run_ReloadScript.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#include "timer.h"
44

55
#ifdef INTERACTIVE_MODE
6+
#include <cstdio>
67
#include <readline/readline.h>
78

89
#include <chrono>

0 commit comments

Comments
 (0)