diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-12-05 14:03:43 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-12-05 14:03:43 +0100 |
commit | 9e4ac84b6eed7cc622d041c396bc460ce7e1bf07 (patch) | |
tree | 511157745c186ba81fb16517cf51cbeea5a761d6 /src/include/taler_amount_lib.h | |
parent | 597c9950a34801ed80f3cdcb030c20950cb55e9b (diff) | |
download | exchange-9e4ac84b6eed7cc622d041c396bc460ce7e1bf07.tar.xz |
force include of taler_util.h, not of taler_crypto_lib.h or taler_amount_lib.h
Diffstat (limited to 'src/include/taler_amount_lib.h')
-rw-r--r-- | src/include/taler_amount_lib.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/taler_amount_lib.h b/src/include/taler_amount_lib.h index a529cfb84..04aa00045 100644 --- a/src/include/taler_amount_lib.h +++ b/src/include/taler_amount_lib.h @@ -18,6 +18,10 @@ * @brief amount-representation utility functions * @author Sree Harsha Totakura <sreeharsha@totakura.in> */ +#if ! defined (__TALER_UTIL_LIB_H_INSIDE__) +#error "Only <taler_util.h> can be included directly." +#endif + #ifndef TALER_AMOUNT_LIB_H #define TALER_AMOUNT_LIB_H |