Include file nonsense..

Nicolas Baradakis nbk at sitadelle.com
Thu Nov 10 19:31:12 CET 2005


Alan DeKok wrote:

>   I think I'm going to fix the CVS head:
>
> src/Makefile
> 	ln -s include freeradius-devel
>
> src/main/Makefile
> src/lib/Makefile
> src/lib/rules.mak
> 	CFLAGS += -I$(top_builddir)/src
>
>   And then change all of the 
>
> #include "libradius.h"
>
>   to
>
> #include <freeradius-devel/libradius.h>

I'd suggest to always use #include <freeradius/file.h>

In src/include/Makefile, we would install the files avalaible for
everyone in /usr/include/freeradius, and just ignore the files
only needed to build the server.

-- 
Nicolas Baradakis




More information about the Freeradius-Devel mailing list