add missing #include <getopt.h>

do not override CC in config.mk
This commit is contained in:
pancake 2011-05-24 14:34:26 +02:00
parent 78fd8698cc
commit da547fb294
11 changed files with 11 additions and 1 deletions

1
cat.c
View File

@ -1,6 +1,7 @@
/* See LICENSE file for copyright and license details. */
#include <stdio.h>
#include <stdlib.h>
#include <getopt.h>
#include <unistd.h>
#include "util.h"

View File

@ -2,7 +2,7 @@
VERSION = 0.0
#CC = cc
CC = musl-gcc
#CC = musl-gcc
AR = ar

1
date.c
View File

@ -2,6 +2,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <getopt.h>
#include <unistd.h>
#include "util.h"

1
echo.c
View File

@ -2,6 +2,7 @@
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <getopt.h>
#include <unistd.h>
int

1
grep.c
View File

@ -2,6 +2,7 @@
#include <regex.h>
#include <stdbool.h>
#include <stdio.h>
#include <getopt.h>
#include <stdlib.h>
#include <unistd.h>

1
ln.c
View File

@ -2,6 +2,7 @@
#include <stdbool.h>
#include <stdlib.h>
#include <unistd.h>
#include <getopt.h>
#include "util.h"
int

1
rm.c
View File

@ -5,6 +5,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <getopt.h>
#include <unistd.h>
#include "util.h"

View File

@ -1,6 +1,7 @@
/* See LICENSE file for copyright and license details. */
#include <stdlib.h>
#include <unistd.h>
#include <getopt.h>
#include "util.h"
int

1
tee.c
View File

@ -3,6 +3,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <getopt.h>
#include "util.h"
int

View File

@ -3,6 +3,7 @@
#include <fcntl.h>
#include <stdbool.h>
#include <stdlib.h>
#include <getopt.h>
#include <time.h>
#include <unistd.h>
#include <utime.h>

1
wc.c
View File

@ -3,6 +3,7 @@
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <getopt.h>
#include <unistd.h>
#include "util.h"