Various changes for portability to FreeBSD.

Added "R" to control service resolution.
This commit is contained in:
pdw
2002-10-18 11:51:47 +00:00
parent 94b6ab8fc6
commit 45ccb4e4b9
7 changed files with 21 additions and 3 deletions

View File

@@ -33,4 +33,12 @@ void ui_init(void);
/* options.c */
void options_read(int argc, char **argv);
/* Make use of SIOCGIFHWADDR work on FreeBSD */
#ifdef __BSD__
#define SIOCGIFHWADDR SIOCGIFADDR
#define ifr_hwaddr ifr_addr
#endif
#endif /* __IFTOP_H_ */