diff --git a/include/glibtop/Makefile.am b/include/glibtop/Makefile.am index 6b80db09..6d394f89 100644 --- a/include/glibtop/Makefile.am +++ b/include/glibtop/Makefile.am @@ -8,4 +8,4 @@ glibtop_HEADERS = close.h loadavg.h prockernel.h procstate.h \ procsignal.h read_data.h union.h types.h gnuserv.h \ parameter.h mountlist.h fsusage.h procmap.h signal.h \ inodedb.h sysinfo.h ppp.h procargs.h netload.h \ - limits.h + interfaces.h limits.h diff --git a/include/glibtop/interfaces.h b/include/glibtop/interfaces.h index a8ff5c3e..015b50b5 100644 --- a/include/glibtop/interfaces.h +++ b/include/glibtop/interfaces.h @@ -79,7 +79,7 @@ struct _glibtop_interface_names char *glibtop_get_interface_names_l (glibtop *server, glibtop_interface_names *buf, unsigned interface, unsigned number, unsigned strategy); -#if GLIBTOP_SUID_INTERFACES +#if GLIBTOP_SUID_INTERFACE_NAMES int glibtop_init_interface_names_p (glibtop *server); char *glibtop_get_interface_names_p (glibtop *server, glibtop_interface_names *buf, unsigned interface, unsigned number, unsigned strategy); #else