=================================================================== RCS file: /cvs/mandoc/main.c,v retrieving revision 1.55 retrieving revision 1.56 diff -u -p -r1.55 -r1.56 --- mandoc/main.c 2009/11/02 08:08:23 1.55 +++ mandoc/main.c 2009/11/02 08:13:48 1.56 @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.55 2009/11/02 08:08:23 kristaps Exp $ */ +/* $Id: main.c,v 1.56 2009/11/02 08:13:48 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -33,7 +33,9 @@ /* FIXME: Intel's compiler? LLVM? pcc? */ #if !defined(__GNUC__) || (__GNUC__ < 2) -# define __attribute__(x) +# if !defined(lint) +# define __attribute__(x) +# endif #endif /* !defined(__GNUC__) || (__GNUC__ < 2) */ #ifdef __linux__