From 8a294115dc1fdf36436e16f9c7ad169b6e8f7aed Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Sun, 24 May 2009 17:08:49 -0300 Subject: [PATCH 2/2] Fix warning when compiling without -ansi flag Add a #define without checking if already defined (introduced in a2db62cbc2f326c30bfd39be31fe71472b8e47e1 ) Signed-off-by: Gerardo Exequiel Pozzi --- minilogd.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/minilogd.c b/minilogd.c index becfc94..971fcb3 100644 --- a/minilogd.c +++ b/minilogd.c @@ -13,7 +13,9 @@ #include #include #include -#define __USE_BSD +#ifndef __USE_BSD +# define __USE_BSD +#endif #include #include -- 1.6.3.1