$OpenBSD: patch-src_3rdparty_autotrace_autotrace_h,v 1.1 2021/05/09 08:55:41 ajacoutot Exp $

From eb24388f1730918edd9565d9e5d09340ec0b3b08 Mon Sep 17 00:00:00 2001
From: Harald van Dijk <harald@gigawatt.nl>
Date: Wed, 17 Feb 2021 09:13:49 +0000
Subject: [PATCH] Fix build with glib 2.67.3.

Index: src/3rdparty/autotrace/autotrace.h
--- src/3rdparty/autotrace/autotrace.h.orig
+++ src/3rdparty/autotrace/autotrace.h
@@ -23,6 +23,9 @@
 
 #include <stdio.h>
 
+#include "types.h"
+#include "color.h"
+
 #ifdef __cplusplus
 extern "C" {
 #endif                          /* __cplusplus */
@@ -34,9 +37,6 @@ extern "C" {
 /* ===================================================================== *
  * Typedefs
  * ===================================================================== */
-
-#include "types.h"
-#include "color.h"
 
 /* Third degree is the highest we deal with.  */
   enum _at_polynomial_degree {
