Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1750143273, "reponame":"libwebsockets", "desc":"libwebsockets lightweight C networking library", "owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://libwebsockets.org/repo/libwebsockets", "f":3, "items": [ {"schema":"libjg2-1", "cid":"d0d4b660926294f346749445bd57e9f1", "commit": {"type":"commit", "time": 1728362866, "time_ofs": 60, "oid_tree": { "oid": "37a8474e15852de795b2e52a788a3b0b4c6e5f90", "alias": []}, "oid":{ "oid": "6b950e8666e83f23d48459ed6cb066313b207d3a", "alias": []}, "msg": "cmake: improve net/ethernet.h header detection", "sig_commit": { "git_time": { "time": 1728362866, "offset": 60 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }, "sig_author": { "git_time": { "time": 1728315174, "offset": 180 }, "name": "Alexandre Snarskii", "email": "snar@snar.spb.ru", "md5": "1387d6d1eb1049bce98b6d914ac6b417" }}, "body": "cmake: improve net/ethernet.h header detection\n" , "diff": "diff --git a/CMakeLists.txt b/CMakeLists.txt\nindex 01a17e2..7e9733a 100644\n--- a/CMakeLists.txt\n+++ b/CMakeLists.txt\n@@ -663,7 +663,11 @@ CHECK_C_SOURCE_COMPILES(\u0022#include \u003cpthread.h\u003e\u005cnvoid main(void) { while(1) ; } vo\n CHECK_C_SOURCE_COMPILES(\u0022#include \u003cinttypes.h\u003e\u005cnvoid main(void) { while(1) ; } void xxexit(void){}\u0022 LWS_HAVE_INTTYPES_H)\n CHECK_C_SOURCE_COMPILES(\u0022#include \u003csys/resource.h\u003e\u005cnvoid main(void) { while(1) ; } void xxexit(void){}\u0022 LWS_HAVE_SYS_RESOURCE_H)\n CHECK_C_SOURCE_COMPILES(\u0022#include \u003clinux/ipv6.h\u003e\u005cnvoid main(void) { while(1) ; } void xxexit(void){}\u0022 LWS_HAVE_LINUX_IPV6_H)\n-CHECK_C_SOURCE_COMPILES(\u0022#include \u003cnet/ethernet.h\u003e\u005cnvoid main(void) { while(1) ; } void xxexit(void){}\u0022 LWS_HAVE_NET_ETHERNET_H)\n+if (LWS_HAVE_SYS_TYPES_H)\n+\tCHECK_C_SOURCE_COMPILES(\u0022#include \u003csys/types.h\u003e\u005cn#include \u003cnet/ethernet.h\u003e\u005cn void main(void) { while (1) ; } void xxexit(void){}\u0022 LWS_HAVE_NET_ETHERNET_H)\n+else()\n+\tCHECK_C_SOURCE_COMPILES(\u0022#include \u003cnet/ethernet.h\u003e\u005cnvoid main(void) { while(1) ; } void xxexit(void){}\u0022 LWS_HAVE_NET_ETHERNET_H)\n+endif()\n CHECK_C_SOURCE_COMPILES(\u0022#include \u003csystemd/sd-daemon.h\u003e\u005cnvoid main(void) { while(1) ; } void xxexit(void){}\u0022 LWS_HAVE_SYSTEMD_H)\n \n \n","s":{"c":1750143273,"u": 6773}} ],"g": 7859,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}