Add guard macro to gnu-rational.hpp.

This commit is contained in:
John Ralls 2017-01-30 10:37:15 -08:00
parent e1b280b36b
commit a88d21245e

View File

@ -19,8 +19,12 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
*******************************************************************/
#include "gnc-int128.hpp"
#ifndef __GNC_RATIONAL_HPP__
#define __GNC_RATIONAL_HPP__
#include "gnc-numeric.h"
#include "gnc-int128.hpp"
struct GncDenom;
@ -104,3 +108,4 @@ struct GncDenom
unsigned int m_sigfigs;
GNCNumericErrorCode m_error;
};
#endif //__GNC_RATIONAL_HPP__