legacy junk compatibility grab-bag

- add the rest of the junk traditionally in sys/param.h
- add prototypes for some nonstandard functions
- add _GNU_SOURCE to their source files so the compiler can check proto
This commit is contained in:
Rich Felker
2012-04-18 12:22:24 -04:00
parent ed0e3a357e
commit ba6a9e7734
6 changed files with 36 additions and 7 deletions

View File

@ -1,3 +1,4 @@
#define _GNU_SOURCE
#include <fcntl.h>
#include <unistd.h>

View File

@ -1,3 +1,4 @@
#define _GNU_SOURCE
#include <termios.h>
void cfmakeraw(struct termios *t)