Skip to content

Commit 4ac0ca5

Browse files
authored
Merge pull request #150 from marcgurevitx/cosmetic-remove-includes
Remove two unnecessary includes of unistd
2 parents b23b5dc + 8a2232b commit 4ac0ca5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

MiniScript-cpp/src/ShellIntrinsics.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
#else
5050
#include <fcntl.h>
5151
#include <unistd.h>
52-
#include <unistd.h>
5352
#include <dirent.h> // for readdir
5453
#include <libgen.h> // for basename and dirname
5554
#include <sys/stat.h> // for stat
@@ -60,7 +59,6 @@
6059
#include <sys/sendfile.h>
6160
#endif
6261
#define PATHSEP '/'
63-
#include <unistd.h>
6462
#include <sys/wait.h>
6563
#endif
6664

0 commit comments

Comments
 (0)