Skip to content

Commit

Permalink
fix missing _DATE_FMT with musl libc
Browse files Browse the repository at this point in the history
  • Loading branch information
stf committed Aug 16, 2014
1 parent 0a3cd74 commit 2577e42
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/libspl/timestamp.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
#include <langinfo.h>
#include "statcommon.h"

#ifndef _DATE_FMT
#define _DATE_FMT D_FMT
#endif

/*
* Print timestamp as decimal reprentation of time_t value (-T u was specified)
* or in date(1) format (-T d was specified).
Expand Down

0 comments on commit 2577e42

Please sign in to comment.