From 193cc0071afcf3682ff4cd0411335b875963880c Mon Sep 17 00:00:00 2001
From: Michael Tuexen <tuexen@fh-muenster.de>
Date: Thu, 30 Jan 2020 16:17:16 +0100
Subject: [PATCH] The local types.h must be include before standard includes.

It defines _GNU_SOURCE, which is needed on Linux for some
includes.
---
 gtests/net/packetdrill/packet.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gtests/net/packetdrill/packet.h b/gtests/net/packetdrill/packet.h
index c2e256b9..591b76f6 100644
--- a/gtests/net/packetdrill/packet.h
+++ b/gtests/net/packetdrill/packet.h
@@ -26,11 +26,11 @@
 #ifndef __PACKET_H__
 #define __PACKET_H__
 
+#include "types.h"
+
 #include <stddef.h>
 #include <sys/time.h>
 
-#include "types.h"
-
 #include "assert.h"
 #include "gre.h"
 #include "header.h"
-- 
GitLab