- Add missing includes. - Remove no longer necessary includes.
Showing the changes to scripts (4 of 4 files). Show all
Unified · Split
| @@ -11,7 +11,6 @@ · 10 unmodified lines | |||
| 11 | #include <time.h> | 11 | #include <time.h> |
| 12 | #include <unistd.h> | 12 | #include <unistd.h> |
| 13 | #include <getopt.h> | 13 | #include <getopt.h> |
| 14 | #include <sys/stat.h> | ||
| 15 | #include <sys/time.h> | 14 | #include <sys/time.h> |
| 16 | #include <errno.h> | 15 | #include <errno.h> |
| 17 | 16 | ||
| @@ -5,6 +5,7 @@ · 4 unmodified lines | |||
| 5 | 5 | ||
| 6 | #include <sys/mman.h> | 6 | #include <sys/mman.h> |
| 7 | #include <sys/stat.h> | 7 | #include <sys/stat.h> |
| 8 | #include <sys/types.h> | ||
| 8 | #include <ctype.h> | 9 | #include <ctype.h> |
| 9 | #include <errno.h> | 10 | #include <errno.h> |
| 10 | #include <fcntl.h> | 11 | #include <fcntl.h> |
| @@ -12,7 +12,6 @@ · 11 unmodified lines | |||
| 12 | #include <stdio.h> | 12 | #include <stdio.h> |
| 13 | #include <stdlib.h> | 13 | #include <stdlib.h> |
| 14 | #include <string.h> | 14 | #include <string.h> |
| 15 | #include <unistd.h> | ||
| 16 | 15 | ||
| 17 | #include "lkc.h" | 16 | #include "lkc.h" |
| 18 | #include "parser.tab.h" | 17 | #include "parser.tab.h" |
| @@ -3,11 +3,11 @@ · 2 unmodified lines | |||
| 3 | * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> | 3 | * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> |
| 4 | */ | 4 | */ |
| 5 | 5 | ||
| 6 | #include <sys/types.h> | ||
| 6 | #include <ctype.h> | 7 | #include <ctype.h> |
| 7 | #include <stdlib.h> | 8 | #include <stdlib.h> |
| 8 | #include <string.h> | 9 | #include <string.h> |
| 9 | #include <regex.h> | 10 | #include <regex.h> |
| 10 | #include <sys/utsname.h> | ||
| 11 | 11 | ||
| 12 | #include "lkc.h" | 12 | #include "lkc.h" |
| 13 | 13 | ||