--- linux-ps.c.orig Thu Sep 16 13:52:56 1999 +++ linux-ps.c Thu Sep 16 13:54:37 1999 @@ -112,9 +112,11 @@ if (!name) name = "eth0"; +#ifdef PF_PACKET fd = socket (PF_PACKET, SOCK_PACKET, htons (ETH_P_ALL)); if (fd < 0) +#endif fd = socket (AF_INET, SOCK_PACKET, htons (ETH_P_ALL)); if (fd < 0)