gcal: include sys/types.h instead of stdint.h in gnulib patch

This makes compilation work on 32bit arches, as well as 64bit arches.
This commit is contained in:
Henrik Grimler 2021-11-11 10:03:46 +01:00
parent 48393d0190
commit bf51d022ef
No known key found for this signature in database
GPG Key ID: B0076E490B71616B
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+#include <sys/types.h>
+#include <bits/struct_file.h>
+
#include <config.h>
@ -16,7 +16,7 @@
#endif
#include <errno.h> /* For detecting Plan9. */
+#include <stdint.h>
+#include <sys/types.h>
+#include <bits/struct_file.h>
#if defined __sferror || defined __DragonFly__ || defined __ANDROID__