Skip to content

Commit 5ad3ba4

Browse files
author
Molly Howell
committed
Bug 1553982 Part 0 - Fix a few unified build issues that crop up when adding files in this directory. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D95623
1 parent 801c4ed commit 5ad3ba4

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

toolkit/xre/nsAppStartupNotifier.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,18 @@
33
* License, v. 2.0. If a copy of the MPL was not distributed with this
44
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
55

6+
#include "nsAppStartupNotifier.h"
7+
#include "nsServiceManagerUtils.h"
68
#include "nsComponentManagerUtils.h"
79
#include "nsCOMPtr.h"
810
#include "nsString.h"
911
#include "nsICategoryManager.h"
12+
#include "nsIObserver.h"
1013
#include "nsXPCOM.h"
11-
#include "nsAppStartupNotifier.h"
1214
#include "mozilla/SimpleEnumerator.h"
1315

16+
using namespace mozilla;
17+
1418
/* static */
1519
nsresult nsAppStartupNotifier::NotifyObservers(const char* aCategory) {
1620
NS_ENSURE_ARG(aCategory);

toolkit/xre/nsAppStartupNotifier.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#define nsAppStartupNotifier_h___
88

99
#include "nsIAppStartupNotifier.h"
10+
#include "nsError.h"
1011

1112
class nsAppStartupNotifier final {
1213
public:

toolkit/xre/nsUpdateDriver.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@
5555
using namespace mozilla;
5656

5757
static LazyLogModule sUpdateLog("updatedriver");
58+
// Some other file in our unified batch might have defined LOG already.
59+
#ifdef LOG
60+
# undef LOG
61+
#endif
5862
#define LOG(args) MOZ_LOG(sUpdateLog, mozilla::LogLevel::Debug, args)
5963

6064
#ifdef XP_WIN

0 commit comments

Comments
 (0)