From e0e5f0bbe21f02af46be27f4c5eccc8c03537a3c Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Mon, 8 Feb 2010 23:39:34 +0000 Subject: [PATCH] Synchronise mygetopt.c with zzuf. --- src/mygetopt.c | 12 ++++++++---- src/mygetopt.h | 4 ++-- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/mygetopt.c b/src/mygetopt.c index 624a721..294bf97 100644 --- a/src/mygetopt.c +++ b/src/mygetopt.c @@ -1,6 +1,6 @@ /* - * zzuf - general purpose fuzzer - * Copyright (c) 2002, 2007 Sam Hocevar + * libcaca Colour ASCII-Art library + * Copyright (c) 2002-2010 Sam Hocevar * All Rights Reserved * * This program is free software. It comes without any warranty, to @@ -16,11 +16,15 @@ #include "config.h" +#if defined HAVE_STDINT_H +# include +#elif defined HAVE_INTTYPES_H +# include +#endif + #include #include -#include "caca_types.h" - #include "mygetopt.h" int myoptind = 1; diff --git a/src/mygetopt.h b/src/mygetopt.h index e59a94b..0fbdbc9 100644 --- a/src/mygetopt.h +++ b/src/mygetopt.h @@ -1,6 +1,6 @@ /* - * zzuf - general purpose fuzzer - * Copyright (c) 2002, 2007 Sam Hocevar + * libcaca Colour ASCII-Art library + * Copyright (c) 2002-2010 Sam Hocevar * All Rights Reserved * * This program is free software. It comes without any warranty, to