libsigc__2/libsigc++2-gcc46.patch

21 lines
542 B
Diff
Raw Normal View History

commit faabe1f90c142a5ea836884a04c0eef250e69f94
Author: Kalev Lember <kalev@smartlink.ee>
Date: Fri Feb 4 12:17:05 2011 +0200
Fix the build with GCC 4.6
* sigc++/signal_base.h: Include <cstddef> for size_t.
diff --git a/sigc++/signal_base.h b/sigc++/signal_base.h
index 1638642..e43bd5e 100644
--- a/sigc++/signal_base.h
+++ b/sigc++/signal_base.h
@@ -21,6 +21,7 @@
#ifndef _SIGC_SIGNAL_BASE_H_
#define _SIGC_SIGNAL_BASE_H_
+#include <cstddef>
#include <list>
#include <sigc++config.h>
#include <sigc++/type_traits.h>