30 lines
796 B
Plaintext
30 lines
796 B
Plaintext
$NetBSD: patch-ac,v 1.2 2010/06/02 13:08:22 adam Exp $
|
|
|
|
--- src/callbacks.c.orig 2004-01-21 15:57:32.000000000 +0000
|
|
+++ src/callbacks.c
|
|
@@ -30,7 +30,13 @@ $Id: callbacks.c,v 1.65 2004/01/21 15:57
|
|
#include <sys/socket.h>
|
|
#include <sys/un.h>
|
|
#include <math.h>
|
|
+#ifdef __linux__
|
|
#include <linux/sem.h>
|
|
+#else
|
|
+#ifndef SEMVMX
|
|
+#define SEMVMX 32767 /* semaphore maximum value */
|
|
+#endif
|
|
+#endif
|
|
#include <fcntl.h>
|
|
#include <signal.h>
|
|
#include <dirent.h>
|
|
@@ -75,6 +81,10 @@ $Id: callbacks.c,v 1.65 2004/01/21 15:57
|
|
#include "global_user.h"
|
|
#include "manage_chat.h"
|
|
|
|
+#ifndef MSG_NOSIGNAL
|
|
+#define MSG_NOSIGNAL 0
|
|
+#endif
|
|
+
|
|
static void build_start_dl_popup(int from_panel);
|
|
void on_load_selected_share_lists_button_clicked (GtkButton *button, gpointer user_data);
|
|
|