add wrapper headers, with warnings, for various incorrect names under sys
also add a warning to the existing sys/poll.h. the warning is absent from sys/dir.h because it is actually providing a slightly different API to the program, and thus just replacing the #include directive is not a valid fix to programs using this one.
This commit is contained in:
parent
bf7b7282f5
commit
54446d730c
6 changed files with 11 additions and 0 deletions
|
|
@ -1 +1,2 @@
|
|||
#warning redirecting incorrect #include <sys/poll.h> to <poll.h>
|
||||
#include <poll.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue