summarylogtreecommitdiffstats
path: root/ssmping_x86_64.patch
blob: 0522f93a84b5981a3f64232c6f5bb5529124d502 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- ssmping-0.9.1.orig/ssmping.c       2008-02-18 14:41:50.000000000 +0100
+++ ssmping-0.9.1/ssmping.c    2010-02-19 01:07:59.000000000 +0100
@@ -11,6 +11,8 @@
  * copyright notice and this permission notice appear in all copies.
  */
 
+#define _GNU_SOURCE 1
+
 #include "ssmping.h"
 
 extern int optind;
@@ -22,7 +24,7 @@
     uint16_t size;
     uint32_t intface;
     struct sockaddr_storage name, ucaddr, mcaddr, grpaddr;
-    size_t namelen;
+    socklen_t namelen;
 #ifdef WIN32
     WORD wVersionRequested;
     WSADATA wsaData;