From ef5f7db093d49d85a8c35d4f6add85592155cc09 Mon Sep 17 00:00:00 2001 From: Simone Piccardi Date: Wed, 20 Aug 2008 23:13:37 +0000 Subject: [PATCH] Alcune correzioni. --- sources/Makefile | 4 ++-- sources/TCP_daytime.c | 1 + sources/UDP_daytime.c | 1 + sources/getcap.c | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/sources/Makefile b/sources/Makefile index 38b67a4..2d3a1dc 100644 --- a/sources/Makefile +++ b/sources/Makefile @@ -11,9 +11,9 @@ LIB = libgapil.so OBJ = FullRead.o FullWrite.o SigHand.o Mutex.o SharedMem.o LockFile.o \ DirScan.o endian.o SockUtil.o full_fread.o full_fwrite.o is_closing.o -FINAL = forktest errcode echo echod daytimed iterdaytimed daytime testfopen \ +FINAL = forktest errcode techo uecho echod daytimed iterdaytimed daytime \ testren fortune fortuned mqfortune mqfortuned flock myls dirmonitor \ - readmon ipctestid writeshm getcap #readshm + readmon ipctestid writeshm getcap testfopen #readshm $(LIB): $(OBJ) gcc -shared -lrt $^ -o $@ diff --git a/sources/TCP_daytime.c b/sources/TCP_daytime.c index ba6874f..0c5857e 100644 --- a/sources/TCP_daytime.c +++ b/sources/TCP_daytime.c @@ -30,6 +30,7 @@ /* * Include needed headers */ +#include /* standard library */ #include /* primitive system data types */ #include /* unix standard library */ #include /* IP addresses conversion utilities */ diff --git a/sources/UDP_daytime.c b/sources/UDP_daytime.c index 4298f9f..889e61d 100644 --- a/sources/UDP_daytime.c +++ b/sources/UDP_daytime.c @@ -35,6 +35,7 @@ #include /* IP addresses conversion utilities */ #include /* socket constants, types and functions */ #include /* standard I/O library */ +#include /* standard library */ #define MAXLINE 80 /* Program begin */ diff --git a/sources/getcap.c b/sources/getcap.c index 3493812..ef26ace 100644 --- a/sources/getcap.c +++ b/sources/getcap.c @@ -37,7 +37,7 @@ #include /* standard I/O library */ #include /* C strings library */ #include /* primitive system data types */ -#include +#include /* need package libcap-dev */ /* Help printing routine */ void usage(void); -- 2.30.2