Define feature test macros in common.h

This enables necessary functions once for all.

As a consequence, define common.h before any other header.
This commit is contained in:
Romain Vimont
2021-01-08 19:24:51 +01:00
parent 59feb2a15c
commit ab912c23e7
37 changed files with 77 additions and 53 deletions

View File

@ -1,9 +1,10 @@
#ifndef SCRCPY_CLI_H
#define SCRCPY_CLI_H
#include "common.h"
#include <stdbool.h>
#include "common.h"
#include "scrcpy.h"
struct scrcpy_cli_args {