mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:57:44 +00:00
LibC: Don't include things required for getopt_long in unistd.h
Previously, we were including the whole of <getopt.h> in <unistd.h>. However according to the posix <unistd.h> doesn't have to contain everything we had in <getopt.h>. This fixes some symbol collisions that broke the git port.
This commit is contained in:
parent
efac3d27d2
commit
c5b0e0b96b
4 changed files with 19 additions and 20 deletions
|
@ -32,6 +32,7 @@
|
|||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <getopt.h>
|
||||
#include <grp.h>
|
||||
#include <pwd.h>
|
||||
#include <stdarg.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue