Skip to content

Commit

Permalink
Merge pull request #958 from moodyhunter/patch-3
Browse files Browse the repository at this point in the history
termios-stub.cpp: make sure _GNU_SOURCE is defined
  • Loading branch information
Dennisbonke authored Dec 11, 2023
2 parents 85862a4 + f32823f commit abd16bb
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 abd16bb

Please sign in to comment.