summaryrefslogtreecommitdiffstats
path: root/include/AARQ-apdu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/AARQ-apdu.h')
-rw-r--r--include/AARQ-apdu.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/AARQ-apdu.h b/include/AARQ-apdu.h
index 999bc66..747bd3e 100644
--- a/include/AARQ-apdu.h
+++ b/include/AARQ-apdu.h
@@ -13,7 +13,7 @@
/* Including external dependencies */
#include <BIT_STRING.h>
#include <OBJECT_IDENTIFIER.h>
-#include <EXTERNAL.h>
+#include "EXTERNAL.h"
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include <constr_SEQUENCE.h>
@@ -26,12 +26,17 @@ extern "C" {
typedef struct AARQ_apdu {
BIT_STRING_t *protocol_version /* DEFAULT {version1} */;
OBJECT_IDENTIFIER_t application_context_name;
+#if 0
struct AARQ_user_information {
A_SEQUENCE_OF(EXTERNAL_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} *user_information;
+#else
+ /* use the definition from ABRT-apdu.h */
+ struct user_information *user_information;
+#endif
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;