commit 786e6deb98e5c4050020215a479330250ed9736e from: Omar Polo date: Wed Jul 21 14:35:24 2021 UTC always include compat.h first commit - bccb5b0b993d6c46066bdf5ef3b0d78103c90cf8 commit + 786e6deb98e5c4050020215a479330250ed9736e blob - e4369a82c474c49f7d22c3d603a3fc81f031e582 blob + 2df4b08df4fc3b507f3544260f332289f7271f36 --- cmd.c +++ cmd.c @@ -13,6 +13,8 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ + +#include "compat.h" #include #include blob - 29f34ecf5a1275a4e92d8ca93e87f13b3e535b7a blob + acaf0e4902dc24ff80cf96fadde92416aa753f9f --- compl.c +++ compl.c @@ -14,6 +14,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include "compat.h" + #include #include "compl.h" blob - a37db85c59cb15137cf4347e52157d42540c183b blob + c960436b42483e9000b39eddb74730a0252e6eda --- defaults.c +++ defaults.c @@ -13,6 +13,8 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ + +#include "compat.h" #include #include blob - 83f351622c5781590eaea05b34fabfc7afc11438 blob + 9235009ec9da02a8224f636cc428a1dc49224713 --- fs.c +++ fs.c @@ -19,6 +19,8 @@ * * TODO: add some form of locking on the files */ + +#include "compat.h" #include blob - 165dfe5ff526750c3ca47b1ab1d4f6b2ca5d1034 blob + 33b4183d849142c658414b8605b182c9be6c2e6e --- gemini.c +++ gemini.c @@ -14,7 +14,7 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include "telescope.h" +#include "compat.h" #include #include @@ -35,6 +35,8 @@ #if HAVE_ASR_RUN # include #endif + +#include "telescope.h" static struct imsgev *iev_ui; static struct tls_config *tlsconf; blob - 8b612716edf3923aa419543f2a9568e7f11b8044 blob + 239ffd9fc68e010cb523a0e38b1080674449e8ae --- gemtext.c +++ gemtext.c @@ -22,15 +22,16 @@ * - UTF8 */ -#include "defaults.h" -#include "parser.h" -#include "telescope.h" -#include "utf8.h" +#include "compat.h" #include #include #include +#include "defaults.h" +#include "parser.h" +#include "utf8.h" + static int gemtext_parse(struct parser*, const char*, size_t); static int gemtext_foreach_line(struct parser*, const char*, size_t); static int gemtext_free(struct parser*); blob - 1426ef08f888dba8cf9c25dc9c0c17736aa96666 blob + 2f6cfe02b84a2f7e67a0cec749ffa391b82e9bce --- hist.c +++ hist.c @@ -14,10 +14,12 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include "telescope.h" +#include "compat.h" #include +#include "telescope.h" + void hist_clear_forward(struct histhead *head, struct hist *h) { blob - 260a14156b80e217e0df0f1dc4bb37e509a824f6 blob + 5e53dbbd49c5364e3ba56db2db00f18b916b9515 --- keymap.c +++ keymap.c @@ -14,12 +14,14 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include "telescope.h" +#include "compat.h" #include #include #include +#include "telescope.h" + #define CTRL(n) ((n)&0x1F) static struct keytable { blob - b636e43a8a9cecf20b6b4a353d2cd16556672fa3 blob + cfccf093c420f93266dc00b5c0f63351515717d4 --- mime.c +++ mime.c @@ -14,6 +14,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include "compat.h" + #include #include #include blob - 0ed1963cf8761afa6447ef695006f28089811fc6 blob + 4ccdcb9611bcab011e8fa48509d774b4ce14499a --- ui.c +++ ui.c @@ -29,6 +29,8 @@ * ``on-demand'', but it's still missing. * */ + +#include "compat.h" #include #include blob - a7a7801504505a28a326787c3f87460fa897ed05 blob + 15dbf003bd7d3d09c76ee97cb7c93ec5b1618d58 --- utf8.c +++ utf8.c @@ -20,6 +20,8 @@ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ + +#include "compat.h" #include #include blob - 6db63f66abf8ca343e535fd83df530d61fa67243 blob + 17fd68b29018f132049a6bb5b9dc2bbab5d83d65 --- util.c +++ util.c @@ -14,7 +14,7 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include "telescope.h" +#include "compat.h" #include #include @@ -22,6 +22,8 @@ #include #include +#include "telescope.h" + static void imsg_event_add(struct imsgev *); int blob - 8efca8f5c54eefa09a2c2db55e1f3f4acefa85c8 blob + 1d4731e413b208c4a3095363a3d08fa437ae13c4 --- wrap.c +++ wrap.c @@ -13,6 +13,8 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ + +#include "compat.h" #include #include