This website works better with JavaScript.
Home
Help
Sign In
cacalabs
/
libcaca
mirror of
https://github.com/cacalabs/libcaca.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
7
Wiki
Activity
Browse Source
stubs: include winsock2.h to get htons/htonl declaration
pull/79/head
Steve Lhomme
7 months ago
parent
f42aa68fc7
commit
929b12321d
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
caca/caca_stubs.h
+ 2
- 0
caca/caca_stubs.h
View File
@@ -34,6 +34,8 @@ static inline int geterrno(void) { return errno; }
# include <arpa/inet.h>
# elif defined HAVE_NETINET_IN_H
# include <netinet/in.h>
# elif defined HAVE_WINSOCK2_H
# include <winsock2.h>
# endif
# define hton16 htons
# define hton32 htonl
Write
Preview
Loading…
Cancel
Save