Bug 1675516 - Update openpgp.configure for RNP October 2020 update. r=kaie a=wsmwk
authorRob Lemley <rob@thunderbird.net>
Tue, 10 Nov 2020 20:01:14 +0100
changeset 40061 4a4ab5e0b262cfbe4cc432547083900d61b66502
parent 40060 20e2259a89aba3fef0e574d17eb577c3ea414ede
child 40062 2c213fd0c3c6e07f35547702e4e98789493dd1e4
push id111
push userkaie@kuix.de
push dateFri, 27 Nov 2020 19:37:08 +0000
treeherdercomm-esr78@03a1c8f00e26 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskaie, wsmwk
bugs1675516
Bug 1675516 - Update openpgp.configure for RNP October 2020 update. r=kaie a=wsmwk
third_party/openpgp.configure
--- a/third_party/openpgp.configure
+++ b/third_party/openpgp.configure
@@ -125,21 +125,21 @@ with only_when('--enable-compile-environ
     have_string_h = check_header('string.h')
     check_headers(
         'limits.h',
         'sys/auxv.h',
         'sys/cdefs.h',
         'sys/resource.h',
         'sys/param.h',
         'sys/stat.h',
-        'sys/time.h',
         'sys/wait.h',
     )
 
     set_define('HAVE_MKDTEMP', check_symbol_exists('mkdtemp', ['stdlib.h','unistd.h']))
+    set_define("HAVE_MKSTEMP", check_symbol_exists("mkstemp", ["stdlib.h", "unistd.h"]))
     set_define('HAVE_REALPATH', check_symbol_exists('realpath', 'stdlib.h'))
     set_define('HAVE_O_BINARY', check_symbol_exists('O_BINARY', 'fcntl.h'))
     set_define('HAVE__O_BINARY', check_symbol_exists('_O_BINARY', 'fcntl.h'))
 
     # Checks when building JSON-C from tree sources
     # =============================================
     with only_when(in_tree_jsonc):
         have_stdlib_h = check_header('stdlib.h')