Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cielavenir committed Jun 21, 2022
1 parent 51c6c44 commit 18dc1f9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CPP/7zip/UI/Common/UpdateCallback.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@
// #include <pwd.h>

// for major minor:
// BSD: <sys/types.h>
#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__DragonFly__)
#include <sys/types.h>
#else
#include <sys/sysmacros.h>
#endif
#endif

#ifndef _7ZIP_ST
#include "../../../Windows/Synchronization.h"
Expand Down

0 comments on commit 18dc1f9

Please sign in to comment.