changeset 1583:58f3eb64f390 trunk

[svn] - freebsd compatibility
author nenolod
date Fri, 18 Aug 2006 14:56:52 -0700
parents d7af2755a397
children 2229b67f1b89
files ChangeLog audacious/controlsocket.c libaudacious/beepctrl.c
diffstat 3 files changed, 31 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Aug 14 17:55:44 2006 -0700
+++ b/ChangeLog	Fri Aug 18 14:56:52 2006 -0700
@@ -1,3 +1,14 @@
+2006-08-15 00:55:44 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [2079]
+  - gcc 4.1.0, 4.1.1, 4.1.2 tree optimization workaround:
+  Remove read_all() and write_all() routines. They had no effect nor merit here, and generally caused trouble.
+  
+
+  Changes:        Modified:
+  +4 -48          trunk/audacious/controlsocket.c  
+  +4 -42          trunk/libaudacious/beepctrl.c  
+
+
 2006-08-15 00:47:24 +0000  William Pitcock <nenolod@nenolod.net>
   revision [2077]
   - gcc 4.1.1 fixes
--- a/audacious/controlsocket.c	Mon Aug 14 17:55:44 2006 -0700
+++ b/audacious/controlsocket.c	Fri Aug 18 14:56:52 2006 -0700
@@ -33,6 +33,15 @@
 #include <sys/un.h>
 #include <arpa/inet.h>
 #include <netdb.h>
+#include <netinet/in.h>
+#include <unistd.h>
+#include <grp.h>
+#include <sys/time.h>
+#include <sys/wait.h>
+#include <sys/resource.h>
+#include <sys/socket.h>
+#include <fcntl.h>
+#include <arpa/inet.h>
 
 #include "main.h"
 #include "equalizer.h"
@@ -44,7 +53,6 @@
 #include "prefswin.h"
 #include "libaudacious/beepctrl.h"
 
-
 #define CTRLSOCKET_BACKLOG        100
 #define CTRLSOCKET_TIMEOUT        100000
 
--- a/libaudacious/beepctrl.c	Mon Aug 14 17:55:44 2006 -0700
+++ b/libaudacious/beepctrl.c	Fri Aug 18 14:56:52 2006 -0700
@@ -37,6 +37,17 @@
 #include "audacious/controlsocket.h"
 #include "libaudacious/configdb.h"
 
+#include <netdb.h>
+#include <netinet/in.h>
+#include <unistd.h>
+#include <grp.h>
+#include <sys/time.h>
+#include <sys/wait.h>
+#include <sys/resource.h>
+#include <sys/socket.h>
+#include <fcntl.h>
+#include <arpa/inet.h>
+
 /* overrides audacious_get_session_uri(). */
 gchar *audacious_session_uri = NULL;
 gint *audacious_session_type = NULL;