NetworkManager/NetworkManager-0.7.0-missing-includes.patch

41 lines
1.4 KiB
Diff

--- NetworkManager-0.7.0/src/ppp-manager/nm-ppp-manager.c.missing-includes 2007-08-31 00:04:26.000000000 -0400
+++ NetworkManager-0.7.0/src/ppp-manager/nm-ppp-manager.c 2007-08-31 00:05:19.000000000 -0400
@@ -4,6 +4,8 @@
#include <sys/wait.h>
#include <signal.h>
#include <string.h>
+#include <sys/types.h>
+#include <unistd.h>
#include "nm-ppp-manager.h"
#include "nm-dbus-manager.h"
--- NetworkManager-0.7.0/src/nm-netlink.c.missing-includes 2007-08-30 14:45:49.000000000 -0400
+++ NetworkManager-0.7.0/src/nm-netlink.c 2007-08-30 23:58:58.000000000 -0400
@@ -19,6 +19,11 @@
* (C) Copyright 2007 Red Hat, Inc.
*/
+#include <signal.h>
+#include <pthread.h>
+#include <sys/types.h>
+#include <unistd.h>
+
#include "nm-netlink.h"
#include "nm-utils.h"
--- NetworkManager-0.7.0/src/nm-hal-manager.c.missing-includes 2007-08-30 14:45:49.000000000 -0400
+++ NetworkManager-0.7.0/src/nm-hal-manager.c 2007-08-30 23:58:58.000000000 -0400
@@ -1,3 +1,4 @@
+#include <signal.h>
#include <string.h>
#include <stdlib.h>
#include <libhal.h>
--- NetworkManager-0.7.0/test/Makefile.am.missing-includes 2007-08-30 14:45:35.000000000 -0400
+++ NetworkManager-0.7.0/test/Makefile.am 2007-08-30 23:58:58.000000000 -0400
@@ -45,5 +45,3 @@ libnm_glib_test_LDADD = $(DBUS_LIBS) $(G
$(top_builddir)/utils/libnmutils.la \
$(top_builddir)/libnm-util/libnm-util.la
-nm_supplicant_test_SOURCES = nm-supplicant-test.c
-nm_supplicant_test_LDADD = $(GLIB_LIBS) $(GTHREAD_LIBS)