NetworkManager r3461 - in trunk/src: . dhcp-manager



Author: dcbw
Date: Fri Mar 14 21:11:04 2008
New Revision: 3461
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=3461&view=rev

Log:
Add missing includes

Modified:
   trunk/src/NetworkManager.c
   trunk/src/NetworkManagerPolicy.c
   trunk/src/NetworkManagerSystem.c
   trunk/src/dhcp-manager/nm-dhcp-manager.c

Modified: trunk/src/NetworkManager.c
==============================================================================
--- trunk/src/NetworkManager.c	(original)
+++ trunk/src/NetworkManager.c	Fri Mar 14 21:11:04 2008
@@ -36,6 +36,7 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <glib/gi18n.h>
+#include <string.h>
 
 #include "NetworkManager.h"
 #include "nm-utils.h"

Modified: trunk/src/NetworkManagerPolicy.c
==============================================================================
--- trunk/src/NetworkManagerPolicy.c	(original)
+++ trunk/src/NetworkManagerPolicy.c	Fri Mar 14 21:11:04 2008
@@ -28,6 +28,7 @@
 #include <signal.h>
 #include <fcntl.h>
 #include <sys/select.h>
+#include <string.h>
 
 #include "NetworkManagerPolicy.h"
 #include "NetworkManagerUtils.h"

Modified: trunk/src/NetworkManagerSystem.c
==============================================================================
--- trunk/src/NetworkManagerSystem.c	(original)
+++ trunk/src/NetworkManagerSystem.c	Fri Mar 14 21:11:04 2008
@@ -42,7 +42,9 @@
 #include <resolv.h>
 #include <netdb.h>
 #include <glib.h>
-#include <pthread.h>
+#include <ctype.h>
+#include <linux/if.h>
+
 #include "NetworkManagerSystem.h"
 #include "nm-device.h"
 #include "nm-named-manager.h"

Modified: trunk/src/dhcp-manager/nm-dhcp-manager.c
==============================================================================
--- trunk/src/dhcp-manager/nm-dhcp-manager.c	(original)
+++ trunk/src/dhcp-manager/nm-dhcp-manager.c	Fri Mar 14 21:11:04 2008
@@ -28,6 +28,8 @@
 #include <signal.h>
 #include <string.h>
 #include <stdlib.h>
+#include <errno.h>
+#include <unistd.h>
 
 #include "nm-dhcp-manager.h"
 #include "nm-marshal.h"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]