diff options
Diffstat (limited to 'src/terminal.c')
-rw-r--r-- | src/terminal.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/terminal.c b/src/terminal.c index 666d97b..4808083 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -21,8 +21,10 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +#ifndef __FreeBSD__ #define _POSIX_C_SOURCE 1 /* fileno() */ #define _BSD_SOURCE /* setlinebuf() */ +#endif #include <termios.h> #include <stdio.h> |