Hack howmany() macro to use _howmany() to build ping and traceroute.
However, what's the official (POSIX?), if any, macro name for this? git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1913 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
eca926b1cf
commit
dc6dfab4c0
@ -73,7 +73,9 @@
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include "sys/select.h"
|
||||
#include <sys/select.h>
|
||||
|
||||
#define howmany(x, y) _howmany(x, y)
|
||||
|
||||
#define DEFDATALEN (64 - 8) /* default data length */
|
||||
#define MAXIPLEN 60
|
||||
|
@ -217,12 +217,13 @@
|
||||
#include <netinet/ip_icmp.h>
|
||||
#include <netinet/ip_var.h>
|
||||
#include <netinet/udp.h>
|
||||
#include "sys/select.h"
|
||||
#include <sys/select.h>
|
||||
|
||||
#define howmany(x, y) _howmany(x, y)
|
||||
|
||||
#include <arpa/inet.h>
|
||||
|
||||
#include <ctype.h>
|
||||
//#include <err.h>
|
||||
#include <errno.h>
|
||||
#include <netdb.h>
|
||||
#include <stdio.h>
|
||||
|
Loading…
Reference in New Issue
Block a user