From 670879cbe91702c77da6494c2bc7102f5d014a0d Mon Sep 17 00:00:00 2001 From: Paul Barker Date: Wed, 20 Nov 2013 10:29:36 -0500 Subject: libopkg: Drop config checks from structures in headers Ensure that all structures are always the same size, regardless of configuration options so that applications which use libopkg don't need to be rebuilt if configuration options are changed. Signed-off-by: Paul Barker Cc: Carsten Schoenert --- (limited to 'libopkg/pkg.h') diff --git a/libopkg/pkg.h b/libopkg/pkg.h index 5d468cb..1dc65a3 100644 --- a/libopkg/pkg.h +++ b/libopkg/pkg.h @@ -161,9 +161,7 @@ struct pkg char *local_filename; char *tmp_unpack_dir; char *md5sum; -#if defined HAVE_SHA256 char *sha256sum; -#endif unsigned long size; /* in bytes */ unsigned long installed_size; /* in bytes */ char *priority; -- cgit v0.9.1