Mercurial > pidgin
comparison src/protocols/gg/libgg.c @ 4016:ad31c79c18b7
[gaim-migrate @ 4216]
its nice when things compile on freebsd as well ;-)
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Fri, 29 Nov 2002 12:48:01 +0000 |
parents | f9b4b1c7d413 |
children | cddb50734169 |
comparison
equal
deleted
inserted
replaced
4015:d93f3e15381f | 4016:ad31c79c18b7 |
---|---|
1 /* $Id: libgg.c 3943 2002-10-25 04:32:23Z chipx86 $ */ | 1 /* $Id: libgg.c 4216 2002-11-29 12:48:01Z lschiere $ */ |
2 | 2 |
3 /* | 3 /* |
4 * (C) Copyright 2001 Wojtek Kaniewski <wojtekka@irc.pl>, | 4 * (C) Copyright 2001 Wojtek Kaniewski <wojtekka@irc.pl>, |
5 * Robert J. Woźny <speedy@ziew.org> | 5 * Robert J. Woźny <speedy@ziew.org> |
6 * | 6 * |
16 * You should have received a copy of the GNU General Public License | 16 * You should have received a copy of the GNU General Public License |
17 * along with this program; if not, write to the Free Software | 17 * along with this program; if not, write to the Free Software |
18 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 18 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
19 */ | 19 */ |
20 | 20 |
21 #include <sys/types.h> | |
21 #ifndef _WIN32 | 22 #ifndef _WIN32 |
22 #include <sys/socket.h> | 23 #include <sys/socket.h> |
23 #include <netinet/in.h> | 24 #include <netinet/in.h> |
24 #include <arpa/inet.h> | 25 #include <arpa/inet.h> |
25 #include <sys/ioctl.h> | 26 #include <sys/ioctl.h> |
28 #include <pwd.h> | 29 #include <pwd.h> |
29 #else | 30 #else |
30 #include <fcntl.h> | 31 #include <fcntl.h> |
31 #endif | 32 #endif |
32 | 33 |
33 #include <sys/types.h> | |
34 #include <stdio.h> | 34 #include <stdio.h> |
35 #include <stdlib.h> | 35 #include <stdlib.h> |
36 #include <unistd.h> | 36 #include <unistd.h> |
37 #include <stdio.h> | 37 #include <stdio.h> |
38 #include <sys/time.h> | 38 #include <sys/time.h> |
70 | 70 |
71 static char rcsid[] | 71 static char rcsid[] |
72 #ifdef __GNUC__ | 72 #ifdef __GNUC__ |
73 __attribute__ ((unused)) | 73 __attribute__ ((unused)) |
74 #endif | 74 #endif |
75 = "$Id: libgg.c 3943 2002-10-25 04:32:23Z chipx86 $"; | 75 = "$Id: libgg.c 4216 2002-11-29 12:48:01Z lschiere $"; |
76 | 76 |
77 #endif | 77 #endif |
78 | 78 |
79 /* | 79 /* |
80 * fix32() // funkcja wewnętrzna | 80 * fix32() // funkcja wewnętrzna |