Skip to content

Commit 54c72eb

Browse files
committed
plpython: add missing plpython.h include to plpy_plpymodule.h
The include was missing before 9b7e24a, but starting with that commit the missing include causes cpluspluscheck to fail because the use of PyMODINIT_FUNC isn't incidentally protected by an ifdef anymore. Discussion: https://postgr.es/m/[email protected]
1 parent 1d4be6b commit 54c72eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pl/plpython/plpy_plpymodule.h

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#ifndef PLPY_PLPYMODULE_H
66
#define PLPY_PLPYMODULE_H
77

8+
#include "plpython.h"
89
#include "utils/hsearch.h"
910

1011
/* A hash table mapping sqlstates to exceptions, for speedy lookup */

0 commit comments

Comments
 (0)