diff --git a/tools/imagetool.h b/tools/imagetool.h
index 99bbf2f459e5ae2d66bb69a25b55011a990b84c3..ad2deb58dceae81e97884e0a19cf9c3541a78f6d 100644
--- a/tools/imagetool.h
+++ b/tools/imagetool.h
@@ -60,6 +60,7 @@ struct image_tool_params {
 	const char *comment;	/* Comment to add to signature node */
 	int require_keys;	/* 1 to mark signing keys as 'required' */
 	int file_size;		/* Total size of output file */
+	int orig_file_size;	/* Original size for file before padding */
 };
 
 /*