Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
348b3b3a
Commit
348b3b3a
authored
Aug 25, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dnsapi: Fix compile without the resolv library.
parent
fb17ae0b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
dnsapi.h
dlls/dnsapi/dnsapi.h
+5
-0
ns_name.c
dlls/dnsapi/ns_name.c
+4
-0
No files found.
dlls/dnsapi/dnsapi.h
View file @
348b3b3a
...
...
@@ -18,6 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __WINE_CONFIG_H
# error You must include config.h to use this header
#endif
static
inline
void
*
heap_alloc
(
SIZE_T
size
)
{
...
...
@@ -140,7 +143,9 @@ static inline LPSTR dns_strdup_ua( const char *src )
const
char
*
dns_type_to_str
(
unsigned
short
);
#ifdef HAVE_RESOLV
int
dns_ns_initparse
(
const
u_char
*
,
int
,
ns_msg
*
);
int
dns_ns_parserr
(
ns_msg
*
,
ns_sect
,
int
,
ns_rr
*
);
int
dns_ns_name_skip
(
const
u_char
**
,
const
u_char
*
);
int
dns_ns_name_uncompress
(
const
u_char
*
,
const
u_char
*
,
const
u_char
*
,
char
*
,
size_t
);
#endif
dlls/dnsapi/ns_name.c
View file @
348b3b3a
...
...
@@ -17,6 +17,8 @@
#include "config.h"
#ifdef HAVE_RESOLV
#include <sys/types.h>
#ifdef HAVE_NETINET_IN_H
...
...
@@ -441,3 +443,5 @@ static int
printable
(
int
ch
)
{
return
(
ch
>
0x20
&&
ch
<
0x7f
);
}
#endif
/* HAVE_RESOLV */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment