mirror of
https://github.com/labwc/labwc.git
synced 2026-04-08 08:21:09 -04:00
src: include primary header first
This is a common practice in C projects, which simply enforces that each header must compile cleanly without implicit dependencies on other headers (see also the previous commit).
This commit is contained in:
parent
c9b576982d
commit
31d42b50e2
74 changed files with 74 additions and 72 deletions
|
|
@ -3,6 +3,7 @@
|
|||
* Copyright (C) Johan Malm 2023
|
||||
*/
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include "img/img-png.h"
|
||||
#include <assert.h>
|
||||
#include <cairo.h>
|
||||
#include <png.h>
|
||||
|
|
@ -12,7 +13,6 @@
|
|||
#include <wlr/util/log.h>
|
||||
#include "buffer.h"
|
||||
#include "common/string-helpers.h"
|
||||
#include "img/img-png.h"
|
||||
|
||||
/*
|
||||
* cairo_image_surface_create_from_png() does not gracefully handle non-png
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue