From da95945d6594c58680908445b39b88fc8aec086e Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Thu, 1 Jun 2023 12:17:40 +1000 Subject: [PATCH] example: remove `#include ` These don't work with musl-libc. They're also unnecessary with gnu-libc. Updates #124 --- example/bzcat/bzcat.c | 1 - example/convert-to-nia/convert-to-nia.c | 1 - example/jsonptr/jsonptr.cc | 1 - example/zcat/zcat.c | 1 - 4 files changed, 4 deletions(-) diff --git a/example/bzcat/bzcat.c b/example/bzcat/bzcat.c index f13e7102..68b5c261 100644 --- a/example/bzcat/bzcat.c +++ b/example/bzcat/bzcat.c @@ -62,7 +62,6 @@ for a C compiler $CC, such as clang or gcc. #include "../../release/c/wuffs-unsupported-snapshot.c" #if defined(__linux__) -#include #include #include #include diff --git a/example/convert-to-nia/convert-to-nia.c b/example/convert-to-nia/convert-to-nia.c index 41ed667f..bfbdb587 100644 --- a/example/convert-to-nia/convert-to-nia.c +++ b/example/convert-to-nia/convert-to-nia.c @@ -80,7 +80,6 @@ https://skia-review.googlesource.com/c/skia/+/290618 // ---- #if defined(__linux__) -#include #include #include #include diff --git a/example/jsonptr/jsonptr.cc b/example/jsonptr/jsonptr.cc index 4ddbc060..0cebc432 100644 --- a/example/jsonptr/jsonptr.cc +++ b/example/jsonptr/jsonptr.cc @@ -141,7 +141,6 @@ for a C++ compiler $CXX, such as clang++ or g++. #include "../../release/c/wuffs-unsupported-snapshot.c" #if defined(__linux__) -#include #include #include #include diff --git a/example/zcat/zcat.c b/example/zcat/zcat.c index 85c2fca3..85257398 100644 --- a/example/zcat/zcat.c +++ b/example/zcat/zcat.c @@ -64,7 +64,6 @@ for a C compiler $CC, such as clang or gcc. #include "../../release/c/wuffs-unsupported-snapshot.c" #if defined(__linux__) -#include #include #include #include