Skip to content

Commit

Permalink
make sure _GNU_SOURCE is defined
Browse files Browse the repository at this point in the history
need to get CBAUD, etc.
  • Loading branch information
moodyhunter authored Dec 11, 2023
1 parent 85862a4 commit f32823f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions options/posix/generic/termios-stubs.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#ifndef _GNU_SOURCE
# define _GNU_SOURCE
#endif

#include <errno.h>
#include <termios.h>
Expand Down

0 comments on commit f32823f

Please sign in to comment.