upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/nostr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/nostr.cpp')
-rw-r--r--src/nostr.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/nostr.cpp b/src/nostr.cpp
index 482a835..088174a 100644
--- a/src/nostr.cpp
+++ b/src/nostr.cpp
@@ -6,8 +6,12 @@
6#include "headers.h" 6#include "headers.h"
7#include <openssl/ssl.h> 7#include <openssl/ssl.h>
8#include <openssl/err.h> 8#include <openssl/err.h>
9// We link libsecp256k1 statically (without this the header assumes DLL import) 9// We link libsecp256k1 statically (without this the header assumes DLL import).
10// Both makefiles also pass -DSECP256K1_STATIC; the guard keeps that from
11// warning while leaving this file correct if built without the flag.
12#ifndef SECP256K1_STATIC
10#define SECP256K1_STATIC 13#define SECP256K1_STATIC
14#endif
11#include <secp256k1.h> 15#include <secp256k1.h>
12#include <secp256k1_schnorrsig.h> 16#include <secp256k1_schnorrsig.h>
13#include <secp256k1_extrakeys.h> 17#include <secp256k1_extrakeys.h>