add bits so we actually build the SN support

This commit is contained in:
Bill Nottingham 2007-10-19 01:43:55 +00:00
parent fc9a04701e
commit 4062ebacea
2 changed files with 4 additions and 1 deletions

View File

@ -768,13 +768,15 @@ diff -d -u -p -r1.1492.2.121 configure
#include "nsIRenderingContext.h"
#include "nsIRegion.h"
#include "nsIRollupListener.h"
@@ -58,6 +58,11 @@
@@ -58,6 +58,13 @@
#include <gdk/gdkx.h>
#include <gdk/gdkkeysyms.h>
+#ifdef MOZ_ENABLE_STARTUP_NOTIFICATION
+#define SN_API_NOT_YET_FROZEN
+#pragma GCC visibility push(default)
+#include <startup-notification-1.0/libsn/sn.h>
+#pragma GCC visibility pop
+#endif
+
#include "gtk2xtbin.h"

View File

@ -20,6 +20,7 @@ ac_add_options --enable-pango
ac_add_options --enable-system-cairo
ac_add_options --enable-svg
ac_add_options --enable-canvas
ac_add_options --enable-startup-notification
export BUILD_OFFICIAL=1
export MOZILLA_OFFICIAL=1