summaryrefslogtreecommitdiff
path: root/plugins/elf/python/format.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/elf/python/format.c')
-rw-r--r--plugins/elf/python/format.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/elf/python/format.c b/plugins/elf/python/format.c
index 84aa68c..1ff22bd 100644
--- a/plugins/elf/python/format.c
+++ b/plugins/elf/python/format.c
@@ -36,6 +36,7 @@
#include <plugins/pychrysa/format/executable.h>
+#include "constants.h"
#include "../format.h"
@@ -193,6 +194,9 @@ bool register_python_elf_format(PyObject *module)
py_elf_format_type, get_python_executable_format_type()))
return false;
+ if (!define_python_binary_format_constants(py_elf_format_type))
+ return false;
+
return true;
}