#3295 actually define PyExc_BufferError
diff --git a/Objects/exceptions.c b/Objects/exceptions.c
index 0c9c94d..02a55c1 100644
--- a/Objects/exceptions.c
+++ b/Objects/exceptions.c
@@ -1847,6 +1847,7 @@
     PRE_INIT(ReferenceError)
     PRE_INIT(BufferError)
     PRE_INIT(MemoryError)
+    PRE_INIT(BufferError)
     PRE_INIT(Warning)
     PRE_INIT(UserWarning)
     PRE_INIT(DeprecationWarning)
@@ -1908,6 +1909,7 @@
     POST_INIT(ReferenceError)
     POST_INIT(BufferError)
     POST_INIT(MemoryError)
+    POST_INIT(BufferError)
     POST_INIT(Warning)
     POST_INIT(UserWarning)
     POST_INIT(DeprecationWarning)