lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

001-fix-musl-build.patch (576B)


      1 --- a/lispd/lispd_output.c
      2 +++ b/lispd/lispd_output.c
      3 @@ -26,6 +26,7 @@
      4   *    Alberto Rodriguez Natal <arnatal@ac.upc.edu>
      5   */
      6  
      7 +#define _GNU_SOURCE 1
      8  
      9  
     10  #include <assert.h>
     11 --- a/lispd/lispd_input.c
     12 +++ b/lispd/lispd_input.c
     13 @@ -26,6 +26,7 @@
     14   *    Alberto Rodriguez Natal <arnatal@ac.upc.edu>
     15   */
     16  
     17 +#define _GNU_SOURCE 1
     18  
     19  #include "lispd_input.h"
     20  #include "lispd_map_notify.h"
     21 --- a/lispd/lispd_pkt_lib.c
     22 +++ b/lispd/lispd_pkt_lib.c
     23 @@ -28,6 +28,8 @@
     24   *
     25   */
     26  
     27 +#define _GNU_SOURCE 1
     28 +
     29  #include "lispd_afi.h"
     30  #include "lispd_pkt_lib.h"
     31  #include "lispd_lib.h"