mirror of
https://github.com/pygos/build.git
synced 2024-11-10 21:57:10 +01:00
60efe6d501
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
39 lines
732 B
Diff
39 lines
732 B
Diff
--- 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 <errno.h>
|
|
#include <fcntl.h>
|
|
-#include <libio.h>
|
|
#include <limits.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
--- a/proc/numa.h.old
|
|
+++ b/proc/numa.h
|
|
@@ -22,6 +22,14 @@
|
|
|
|
#include <features.h>
|
|
|
|
+#ifdef __cplusplus
|
|
+# define __BEGIN_DECLS extern "C" {
|
|
+# define __END_DECLS }
|
|
+#else
|
|
+# define __BEGIN_DECLS
|
|
+# define __END_DECLS
|
|
+#endif
|
|
+
|
|
__BEGIN_DECLS
|
|
|
|
void numa_init (void);
|
|
|