| 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 |