summaryrefslogtreecommitdiff
path: root/Python/frozen.c
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-02-09 17:02:16 +0100
committerChristian Heimes <christian@cheimes.de>2013-02-09 17:02:16 +0100
commitdf9e93d7e9700d05a912d3391ea025c777bbc52b (patch)
tree31fe040abe5b5d8e8033c0063ab985d2e5e432dc /Python/frozen.c
parent6903c5c40635d7286acd189c94fb46584ef9de1d (diff)
parenta0082faefb9e09c8574c7e8a88c4b21d2d659877 (diff)
downloadcpython-df9e93d7e9700d05a912d3391ea025c777bbc52b.tar.gz
add proper dependencies on expat headers and sources
Diffstat (limited to 'Python/frozen.c')
-rw-r--r--Python/frozen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/frozen.c b/Python/frozen.c
index ddf6224e6d..25fdc17b3f 100644
--- a/Python/frozen.c
+++ b/Python/frozen.c
@@ -2,6 +2,7 @@
/* Dummy frozen modules initializer */
#include "Python.h"
+#include "importlib.h"
/* In order to test the support for frozen modules, by default we
define a single frozen module, __hello__. Loading it will print
@@ -28,6 +29,8 @@ static unsigned char M___hello__[] = {
#define SIZE (int)sizeof(M___hello__)
static struct _frozen _PyImport_FrozenModules[] = {
+ /* importlib */
+ {"_frozen_importlib", _Py_M__importlib, (int)sizeof(_Py_M__importlib)},
/* Test module */
{"__hello__", M___hello__, SIZE},
/* Test package (negative size indicates package-ness) */