mirror of
https://github.com/curl/curl.git
synced 2026-08-12 09:40:56 +03:00
build: libhostname linkage adjustments followup
This commit is contained in:
parent
6ea043a504
commit
c49e9683b8
3 changed files with 28 additions and 3 deletions
|
|
@ -9,12 +9,12 @@
|
|||
|
||||
#include "setup.h"
|
||||
|
||||
#include "sethostname.h"
|
||||
|
||||
/*
|
||||
* we force our own host name, in order to make some tests machine independent
|
||||
*/
|
||||
|
||||
int gethostname(char *name, GETHOSTNAME_TYPE_ARG2 namelen);
|
||||
|
||||
int gethostname(char *name, GETHOSTNAME_TYPE_ARG2 namelen)
|
||||
{
|
||||
const char *force_hostname = getenv("CURL_GETHOSTNAME");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue