From dae6303135c66acdd0e4f3985c6e5c95334aea7f Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 30 Sep 2013 08:28:58 +0000 Subject: Fix getopt header confusion. Our copy of getopt.h in lib/win32 was beating the system getopt.h in the search path, and providing different definitions, which clang picked up. Renamed our getopt.h to bsd_getopt.h, and added a box_getopt.h to decide whether to include this one instead of the system getopt.h. --- bin/bbstoreaccounts/bbstoreaccounts.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/bbstoreaccounts/bbstoreaccounts.cpp') diff --git a/bin/bbstoreaccounts/bbstoreaccounts.cpp b/bin/bbstoreaccounts/bbstoreaccounts.cpp index 6a5c2e33..f2292ca1 100644 --- a/bin/bbstoreaccounts/bbstoreaccounts.cpp +++ b/bin/bbstoreaccounts/bbstoreaccounts.cpp @@ -24,6 +24,7 @@ #include #include +#include "box_getopt.h" #include "BackupStoreAccounts.h" #include "BackupStoreAccountDatabase.h" #include "BackupStoreCheck.h" -- cgit v1.2.3