Skip to content

Commit

Permalink
Readd header needed on 32-bit platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
krader1961 committed Aug 30, 2019
1 parent 15f781f commit 13d6ace
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cmd/ksh93/bltins/typeset.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include "config_ast.h" // IWYU pragma: keep

#include <float.h>
#include <limits.h> // IWYU pragma: keep

This comment has been minimized.

Copy link
@siteshwar

siteshwar Aug 30, 2019

Contributor

@krader1961 Why it's only needed on 32-bit systems ?

This comment has been minimized.

Copy link
@krader1961

krader1961 Aug 30, 2019

Author Contributor

Because it is only used if #if _ast_sizeof_pointer < 8 is true. Which I why I didn't notice the problem until I did a build on my 32-bit VM.

This comment has been minimized.

Copy link
@krader1961

krader1961 Aug 30, 2019

Author Contributor

Whether or not that is the optimal solution is an open question. It simply restores the status quo.

#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
Expand Down

0 comments on commit 13d6ace

Please sign in to comment.