]> Git Repo - secp256k1.git/blobdiff - contrib/lax_der_parsing.h
Merge #930: Add ARM32/ARM64 CI
[secp256k1.git] / contrib / lax_der_parsing.h
index 6b7255e28f5bc78ffdc48940821d8fed062eaa55..034a38e6a0e1d0fb303c78bb9fd0ac20ecd44358 100644 (file)
 #ifndef SECP256K1_CONTRIB_LAX_DER_PARSING_H
 #define SECP256K1_CONTRIB_LAX_DER_PARSING_H
 
+/* #include secp256k1.h only when it hasn't been included yet.
+   This enables this file to be #included directly in other project
+   files (such as tests.c) without the need to set an explicit -I flag,
+   which would be necessary to locate secp256k1.h. */
+#ifndef SECP256K1_H
 #include <secp256k1.h>
+#endif
 
 #ifdef __cplusplus
 extern "C" {
This page took 0.020431 seconds and 4 git commands to generate.