src/protocols/zephyr/ZhmStat.c

changeset 10867
b39f9b646d6c
parent 8792
b0645c9dc276
child 11105
842fa517e08c
equal deleted inserted replaced
10866:40eab743e22b 10867:b39f9b646d6c
1 /* This file is part of the Project Athena Zephyr Notification System. 1 /* This file is part of the Project Athena Zephyr Notification System.
2 * It contains the ZhmStat() function. 2 * It contains the ZhmStat() function.
3 * 3 *
4 * Created by: Marc Horowitz 4 * Created by: Marc Horowitz
5 * 5 *
6 * $Id: ZhmStat.c 9554 2004-04-24 09:02:28Z chipx86 $ 6 * $Id: ZhmStat.c 12553 2005-04-25 01:53:01Z thekingant $
7 * 7 *
8 * Copyright (c) 1996 by the Massachusetts Institute of Technology. 8 * Copyright (c) 1996 by the Massachusetts Institute of Technology.
9 * For copying and distribution information, see the file 9 * For copying and distribution information, see the file
10 * "mit-copyright.h". 10 * "mit-copyright.h".
11 */ 11 */
12 12
13 #include "internal.h" 13 #include "internal.h"
14
15 #ifdef WIN32
16 #include <winsock2.h>
17 #else
14 #include <sys/socket.h> 18 #include <sys/socket.h>
19 #endif
15 20
16 #ifndef INADDR_LOOPBACK 21 #ifndef INADDR_LOOPBACK
17 #define INADDR_LOOPBACK 0x7f000001 22 #define INADDR_LOOPBACK 0x7f000001
18 #endif 23 #endif
19 24

mercurial