sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit da547fb294f88aa0645fab528008b87404434131
parent 78fd8698cc9f23fc38b3150e61ea902057ed8c06
Author: pancake <unknown>
Date:   Tue, 24 May 2011 14:34:26 +0200

add missing #include <getopt.h>
do not override CC in config.mk
Diffstat:
Mcat.c | 1+
Mconfig.mk | 2+-
Mdate.c | 1+
Mecho.c | 1+
Mgrep.c | 1+
Mln.c | 1+
Mrm.c | 1+
Msleep.c | 1+
Mtee.c | 1+
Mtouch.c | 1+
Mwc.c | 1+
11 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/cat.c b/cat.c @@ -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" diff --git a/config.mk b/config.mk @@ -2,7 +2,7 @@ VERSION = 0.0 #CC = cc -CC = musl-gcc +#CC = musl-gcc AR = ar diff --git a/date.c b/date.c @@ -2,6 +2,7 @@ #include <stdio.h> #include <stdlib.h> #include <time.h> +#include <getopt.h> #include <unistd.h> #include "util.h" diff --git a/echo.c b/echo.c @@ -2,6 +2,7 @@ #include <stdbool.h> #include <stdio.h> #include <stdlib.h> +#include <getopt.h> #include <unistd.h> int diff --git a/grep.c b/grep.c @@ -2,6 +2,7 @@ #include <regex.h> #include <stdbool.h> #include <stdio.h> +#include <getopt.h> #include <stdlib.h> #include <unistd.h> diff --git a/ln.c b/ln.c @@ -2,6 +2,7 @@ #include <stdbool.h> #include <stdlib.h> #include <unistd.h> +#include <getopt.h> #include "util.h" int diff --git a/rm.c b/rm.c @@ -5,6 +5,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <getopt.h> #include <unistd.h> #include "util.h" diff --git a/sleep.c b/sleep.c @@ -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 diff --git a/tee.c b/tee.c @@ -3,6 +3,7 @@ #include <stdio.h> #include <stdlib.h> #include <unistd.h> +#include <getopt.h> #include "util.h" int diff --git a/touch.c b/touch.c @@ -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> diff --git a/wc.c b/wc.c @@ -3,6 +3,7 @@ #include <stdbool.h> #include <stdio.h> #include <stdlib.h> +#include <getopt.h> #include <unistd.h> #include "util.h"