tcg/tcg-op.h: Add multiple include guard

The tcg-op.h header was missing the usual guard against multiple
inclusion; add it.

(Spotted by lgtm.com's static analyzer.)

Backports commit a7ce790a029bd94eb320d8c69f38900f5233997e from qemu
This commit is contained in:
Peter Maydell 2018-11-11 08:51:38 -05:00 committed by Lioncash
parent fc354aa464
commit 78906db067
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -22,6 +22,9 @@
* THE SOFTWARE.
*/
#ifndef TCG_TCG_OP_H
#define TCG_TCG_OP_H
#include "tcg.h"
#include "exec/helper-proto.h"
#include "exec/helper-gen.h"
@ -1275,3 +1278,5 @@ static inline void tcg_gen_trunc_ptr_i32(TCGContext *s, TCGv_i32 r, TCGv_ptr a)
#undef PTR
#undef NAT
#endif /* TCG_TCG_OP_H */