[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: compiling kdelibs-2.2.2 -->netsupp.h
From:       Thiago Macieira <thiagom () wanadoo ! fr>
Date:       2002-02-10 14:01:55
[Download RAW message or body]

ZECHA,HOLGER \(HP-Germany,ex1\) wrote
>Error in netsupp.h lin 64
>
>sa_family_t         sin6_family; --> syntax error before ;

I've fixed this in HEAD. I can backport the changes to 2.2.2.

I've attached the patch.

--=20
  Thiago Macieira - UFOT Registry number: 1001
 thiagom@mail.com
   ICQ UIN: 1967141  PGP: 0x8F2978D5 and 0xEA9037A5 (PGP 2.x)
     Registered Linux user #65028

["netsupp.h.patch" (text/x-diff)]

Index: netsupp.h
===================================================================
RCS file: /home/kde/kdelibs/kdecore/netsupp.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -p -r1.20 -r1.21
--- netsupp.h	2002/01/04 10:55:30	1.20
+++ netsupp.h	2002/01/22 18:28:41	1.21
@@ -2,7 +2,7 @@
  *  This file is part of the KDE libraries
  *  Copyright (C) 2000,2001 Thiago Macieira <thiagom@mail.com>
  *
- *  $Id: netsupp.h,v 1.20 2002/01/04 10:55:30 mueller Exp $
+ *  $Id: netsupp.h,v 1.21 2002/01/22 18:28:41 thiago Exp $
  *
  *  This library is free software; you can redistribute it and/or
  *  modify it under the terms of the GNU Library General Public
@@ -65,8 +65,10 @@ struct kde_sockaddr_in6
 {
 #ifdef HAVE_SOCKADDR_SA_LEN
   Q_UINT8		sin6_len;
+  Q_UINT8		sin6_family;
+#else  //HAVE_SOCKADDR_SA_LEN
+  Q_UINT16		sin6_family;
 #endif
-  sa_family_t		sin6_family;
   unsigned short       	sin6_port;	/* RFC says in_port_t */
   Q_UINT32		sin6_flowinfo;
   struct kde_in6_addr	sin6_addr;

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic