change local lib headers to be relative for those pointing at "include/" dir

added relative paths to header files imported from src directory

added include guards for contrib/ files when referring to secp256k1.h
This commit is contained in:
William Bright
2021-05-04 13:19:33 -04:00
parent d0bd2693e3
commit 3c90bdda95
25 changed files with 40 additions and 39 deletions

View File

@@ -7,8 +7,8 @@
#ifndef SECP256K1_MODULE_EXTRAKEYS_MAIN_H
#define SECP256K1_MODULE_EXTRAKEYS_MAIN_H
#include "include/secp256k1.h"
#include "include/secp256k1_extrakeys.h"
#include "../../../include/secp256k1.h"
#include "../../../include/secp256k1_extrakeys.h"
static SECP256K1_INLINE int secp256k1_xonly_pubkey_load(const secp256k1_context* ctx, secp256k1_ge *ge, const secp256k1_xonly_pubkey *pubkey) {
return secp256k1_pubkey_load(ctx, ge, (const secp256k1_pubkey *) pubkey);