Fix building with GCC 12.x release.
authorMartin Liska <mliska@suse.cz>
Wed, 29 Jun 2022 09:05:01 +0000 (11:05 +0200)
committerAdrian Bunk <bunk@debian.org>
Sat, 25 Feb 2023 20:30:40 +0000 (22:30 +0200)
Add missing header file.

Fixes: #396
Gbp-Pq: Name 0001-Fix-building-with-GCC-12.x-release.patch

zypp/base/Random.cc

index c5dba808348f513100c7dfe2f685465ee411f8a4..9f40a3871c6fa42bee37cbe681b6ce9d48869262 100644 (file)
@@ -1,5 +1,6 @@
 #include <fcntl.h>
 #include <unistd.h>
+#include <time.h>
 #include <zypp/base/Random.h>