Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
libvncserver
Commits
cef6224e
Commit
cef6224e
authored
Mar 07, 2005
by
dscho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
do the in_addr_t stuff correctly...
parent
a86e7fed
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
configure.ac
configure.ac
+2
-1
rfbproto.h
rfb/rfbproto.h
+4
-0
No files found.
configure.ac
View file @
cef6224e
...
...
@@ -232,8 +232,9 @@ AC_CACHE_CHECK([for in_addr_t],
[inaddrt=yes],
[inaddrt=no]),
])
AH_TEMPLATE(NEED_INADDR_T, [Need a typedef for in_addr_t])
if test $inaddrt = no ; then
AC_
CHECK_TYPE(in_addr_t, uint32_t
)
AC_
DEFINE(NEED_INADDR_T
)
fi
# Checks for library functions.
...
...
rfb/rfbproto.h
View file @
cef6224e
...
...
@@ -84,6 +84,10 @@ typedef int8_t rfbBool;
typedef
uint32_t
rfbKeySym
;
typedef
uint32_t
rfbPixel
;
#ifdef LIBVNCSERVER_NEED_INADDR_T
typedef
uint32_t
in_addr_t
;
#endif
#ifndef INADDR_NONE
#define INADDR_NONE ((in_addr_t) 0xffffffff)
#endif
...
...
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