瀏覽代碼

stubs: include winsock2.h to get htons/htonl declaration

pull/79/head
Steve Lhomme 8 月之前
父節點
當前提交
929b12321d
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. +2
    -0
      caca/caca_stubs.h

+ 2
- 0
caca/caca_stubs.h 查看文件

@@ -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


||||||
x
 
000:0
Loading…
取消
儲存