Use getprotobyname() to retrieve protocol number for TCP

(sorry, I don't know how to add this to the configure process).
This commit is contained in:
Gisle Vanem
2006-02-26 17:08:33 +00:00
parent f592ea6c30
commit 60b029869f
3 changed files with 13 additions and 1 deletions

View File

@@ -20,6 +20,7 @@
#define HAVE_GETHOSTNAME 1
#define HAVE_GETPASS 1
#define HAVE_GETSERVBYNAME 1
#define HAVE_GETPROTOBYNAME 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_INET_ADDR 1
#define HAVE_INET_NTOA 1