Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asn1c
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
asn1c
Commits
bc012cb7
Commit
bc012cb7
authored
Sep 03, 2020
by
Evgeniy Isaev
Committed by
Mouse
Sep 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added check for `netinet/in.h` header file availability
parent
b660368a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
configure.ac
configure.ac
+1
-0
skeletons/asn_system.h
skeletons/asn_system.h
+2
-0
No files found.
configure.ac
View file @
bc012cb7
...
...
@@ -263,6 +263,7 @@ AC_SUBST(ASAN_ENV_FLAGS)
dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(sys/param.h)
AC_CHECK_HEADERS(netinet/in.h)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_BIGENDIAN
...
...
skeletons/asn_system.h
View file @
bc012cb7
...
...
@@ -75,7 +75,9 @@ typedef unsigned int uint32_t;
#else
/* !defined(__vxworks) */
#include <inttypes.h>
/* C99 specifies this file */
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
/* for ntohl() */
#endif
#define sys_ntohl(foo) ntohl(foo)
#endif
/* defined(__vxworks) */
...
...
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