]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/plugins/radius/radattr.c
Fix include paths for plugins to use the public API of pppd
[ppp.git] / pppd / plugins / radius / radattr.c
index f6a787424afc4fc304f605fb02467b4d055d9700..16f7fba0f1b1680bf986971ee9818291dd50367c 100644 (file)
 static char const RCSID[] =
 "$Id: radattr.c,v 1.2 2004/10/28 00:24:40 paulus Exp $";
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-#include "pppd.h"
-#include "radiusclient.h"
 #include <stdio.h>
-#include <sys/types.h>
 #include <sys/stat.h>
+#include <pppd/pppd.h>
+
+#include "radiusclient.h"
 
 extern void (*radius_attributes_hook)(VALUE_PAIR *);
 static void print_attributes(VALUE_PAIR *);
 static void cleanup(void *opaque, int arg);
 
-char pppd_version[] = VERSION;
+char pppd_version[] = PPPD_VERSION;
 
 /**********************************************************************
 * %FUNCTION: plugin_init