Fix build error 33/291933/1
authorDongHun Kwak <dh0128.kwak@samsung.com>
Tue, 25 Apr 2023 07:45:01 +0000 (16:45 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Tue, 25 Apr 2023 07:46:07 +0000 (16:46 +0900)
commit8d85fd7b1380600a5f446c4f5981e98ad267a03e
tree85fd1962bf9a6382729e685406afab2105140372
parent116e71dd9d401d2f2f922e57100220ea04ad31d6
Fix build error

Add time.h to Random.cc

[  307s] /home/abuild/rpmbuild/BUILD/libzypp-17.23.7/zypp/base/Random.cc: In function 'int zypp::base::random_int()':
[  307s] /home/abuild/rpmbuild/BUILD/libzypp-17.23.7/zypp/base/Random.cc:21:27: error: 'time' was not declared in this scope
[  307s]    21 |             seed = rand()+time(0);

Change-Id: I76fca0e0914f0638244818d227184ee1110fe72e
packaging/add_time_header_to_random.patch [new file with mode: 0644]
packaging/libzypp.spec