Skip to content

Commit

Permalink
Make it compileable with glibc (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-milovidov authored Sep 19, 2021
1 parent 121ccd0 commit 381d2a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bestline.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@
#include "bestline.h"

#ifndef __COSMOPOLITAN__
#define _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 1
#define _XOPEN_SOURCE 700
#include <termios.h>
#include <unistd.h>
#include <stdlib.h>
Expand Down

0 comments on commit 381d2a4

Please sign in to comment.