From 202ade1398ca57070e56de24c3639f3048ecd784 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 15 Apr 2011 18:40:32 -0500 Subject: Include "config.h" in header files using off_t This makes it absolutely dead easy to ensure off_t has the same length in all compilation units. I just spent 2.5 hours bashing my head on an issue related to this so damn it I'm fixing it for good. Signed-off-by: Dan McGee --- lib/libalpm/graph.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/libalpm/graph.h') diff --git a/lib/libalpm/graph.h b/lib/libalpm/graph.h index ff458230..f76c6004 100644 --- a/lib/libalpm/graph.h +++ b/lib/libalpm/graph.h @@ -19,6 +19,8 @@ #ifndef _ALPM_GRAPH_H #define _ALPM_GRAPH_H +#include "config.h" /* ensure off_t is correct length */ + #include /* off_t */ #include "alpm_list.h" -- cgit v1.2.3-24-g4f1b