Include compat.h after system headers, GitHub issue 2492.

pull/2497/head
Nicholas Marriott 2020-12-07 12:12:40 +00:00
parent caf096394b
commit 681c0d2bfb
1 changed files with 2 additions and 2 deletions

View File

@ -14,8 +14,6 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include "compat.h"
#ifndef HAVE_CLOSEFROM
#include <sys/types.h>
@ -50,6 +48,8 @@
# include <libproc.h>
#endif
#include "compat.h"
#ifndef OPEN_MAX
# define OPEN_MAX 256
#endif