martijnvanbrummelen / nwipe

nwipe secure disk eraser
GNU General Public License v2.0
801 stars 86 forks source link

move the include of time.h #520

Closed xambroz closed 1 year ago

xambroz commented 1 year ago

The definition of the newly used _POSIX_SOURCE affects preprocessing of the time.h. As result on RHEL7 (possibly 6 as well) the timespec structure is not defined.

Fixes bug #519