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,10 +1,10 @@
#ifndef SC_PROCESS_H
#define SC_PROCESS_H
#include <stdbool.h>
#include "common.h"
#include <stdbool.h>
#ifdef _WIN32
// not needed here, but winsock2.h must never be included AFTER windows.h