diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -11,12 +11,15 @@ char* cmd; int main (ARGUMENTS) { +#ifdef CHECK_LINK + struct stat buf; +#endif + if (argc < 1) { return EXIT_FAILURE; } #ifdef CHECK_LINK - struct stat buf; lstat(argv[0], &buf); if (!S_ISLNK(buf.st_mode)) { |