Skip to content

Commit

Permalink
Fix clang warning in sqlite shell_icu_linux.c.
Browse files Browse the repository at this point in the history
Add include file per bug.

BUG=138571
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/10825225

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150415 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
shess@chromium.org committed Aug 7, 2012
1 parent a742054 commit 7489638
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
12 changes: 7 additions & 5 deletions third_party/sqlite/icu-shell.patch
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,18 @@ Index: src/shell.c
Argv0 = argv[0];
main_init(&data);
stdin_is_interactive = isatty(0);
Index: src/shell_icu_linux.c
===================================================================
--- src/shell_icu_linux.c 1969-12-31 16:00:00.000000000 -0800
+++ src/shell_icu_linux.c 2009-09-17 13:48:49.000000000 -0700
@@ -0,0 +1,26 @@
diff --git src/shell_icu_linux.c src/shell_icu_linux.c
new file mode 100644
index 0000000..4ad0e42
--- /dev/null
+++ src/shell_icu_linux.c
@@ -0,0 +1,27 @@
+/* Copyright 2007 Google Inc. All Rights Reserved.
+**/
+
+#include <limits.h>
+#include <unistd.h>
+#include "unicode/putil.h"
+#include "unicode/udata.h"
+
+/*
Expand Down
1 change: 1 addition & 0 deletions third_party/sqlite/src/src/shell_icu_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#include <limits.h>
#include <unistd.h>
#include "unicode/putil.h"
#include "unicode/udata.h"

/*
Expand Down

0 comments on commit 7489638

Please sign in to comment.