[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rrd-developers
Subject:    Re: [rrd-developers] [PATCH] Move <libgen.h> include so we know
From:       Tobias Oetiker <tobi () oetiker ! ch>
Date:       2009-07-10 5:51:48
Message-ID: alpine.DEB.2.00.0907100751410.29834 () sebohet ! brgvxre ! pu
[Download RAW message or body]

Hi Kevin,

thanks
tobi

Yesterday kevin brintnall wrote:

> ---
>  src/rrd_graph.c |   14 +++++++-------
>  1 files changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/src/rrd_graph.c b/src/rrd_graph.c
> index 594c9f6..1ea457b 100644
> --- a/src/rrd_graph.c
> +++ b/src/rrd_graph.c
> @@ -7,19 +7,19 @@
>
>  #include <sys/stat.h>
>
> -/* for basename */
> -#ifdef HAVE_LIBGEN_H
> -#  include <libgen.h>
> -#eles
> -#include "plbasename.h"
> -#endif
> -
>  #ifdef WIN32
>  #include "strftime.h"
>  #endif
>
>  #include "rrd_tool.h"
>
> +/* for basename */
> +#ifdef HAVE_LIBGEN_H
> +#  include <libgen.h>
> +#else
> +#include "plbasename.h"
> +#endif
> +
>  #if defined(WIN32) && !defined(__CYGWIN__) && !defined(__CYGWIN32__)
>  #include <io.h>
>  #include <fcntl.h>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi@oetiker.ch ++41 62 775 9902 / sb: -9900

_______________________________________________
rrd-developers mailing list
rrd-developers@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic