$NetBSD: patch-af,v 1.7 2016/04/09 08:47:36 tron Exp $ 1.) On some systems, curses.h defines TRUE and FALSE, so conditionalise them here to avoid compiler complaints about duplicate definitions. --- lib.h.orig 2016-04-02 19:12:22.000000000 +0100 +++ lib.h 2016-04-09 09:34:25.000000000 +0100 @@ -54,8 +54,12 @@ # define N_(a) a # endif -# define TRUE 1 -# define FALSE 0 +# ifndef TRUE +# define TRUE 1 +# endif +# ifndef FALSE +# define FALSE 0 +# endif # define HUGE_STRING 8192 # define LONG_STRING 1024