[PATCH] include limits.h instead of linux/limits.h for FreeBSD

Lukas Fleischer cgit at cryptocrack.de
Wed Dec 14 21:44:17 CET 2011


On Wed, Dec 14, 2011 at 09:50:48AM -0800, Norberto Lopes wrote:
> ---
>  shared.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 

Removing the include altogether is the right thing to here. I already
submitted a patch [1] almost 5 months ago... No reply yet. Is it time to
start a fork? :)

> diff --git a/shared.c b/shared.c
> index 699c362..0d2a295 100644
> --- a/shared.c
> +++ b/shared.c
> @@ -8,7 +8,7 @@
>  
>  #include "cgit.h"
>  #include <stdio.h>
> -#include <linux/limits.h>
> +#include <limits.h>
>  
>  struct cgit_repolist cgit_repolist;
>  struct cgit_context ctx;
> -- 
> 1.7.7.3
> 
> 
> _______________________________________________
> cgit mailing list
> cgit at hjemli.net
> http://hjemli.net/mailman/listinfo/cgit

[1] http://hjemli.net/pipermail/cgit/2011-July/000280.html




More information about the CGit mailing list