--- a/include/nls.h.old +++ b/include/nls.h @@ -6,7 +6,7 @@ #define PROCPS_NG_NLS_H /* programs issuing textdomain() need PACKAGE string */ -#include "../config.h" +#include "config.h" /* programs issuing bindtextdomain() also need LOCALEDIR string */ #ifndef LOCALEDIR --- a/procio.c.old +++ b/procio.c @@ -24,7 +24,6 @@ #endif #include #include -#include #include #include #include --- a/proc/numa.h.old +++ b/proc/numa.h @@ -22,6 +22,14 @@ #include +#ifdef __cplusplus +# define __BEGIN_DECLS extern "C" { +# define __END_DECLS } +#else +# define __BEGIN_DECLS +# define __END_DECLS +#endif + __BEGIN_DECLS void numa_init (void);