Skip to content

Commit

Permalink
Order sys headers as per MSDN (#595)
Browse files Browse the repository at this point in the history
  • Loading branch information
derobins authored Feb 23, 2024
1 parent e179d4a commit 0bbd54d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions hdf/src/hdf_priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,17 @@
#ifdef H4_HAVE_SYS_FILE_H
#include <sys/file.h>
#endif
#ifdef H4_HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
#ifdef H4_HAVE_SYS_TIME_H
#include <sys/time.h>
#endif

/* MSDN docs say that sys/types.h has to come before sys/stat */
#ifdef H4_HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef H4_HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif

/* Windows headers */
#ifdef H4_HAVE_WIN32_API
Expand Down

0 comments on commit 0bbd54d

Please sign in to comment.