Skip to content

Commit

Permalink
fix gcc 4.9 warning about the _BSD_SOURCE usage
Browse files Browse the repository at this point in the history
  • Loading branch information
razvancrainea committed Jan 8, 2015
1 parent cb7a524 commit 76a8df1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions db/db_ut.h
Expand Up @@ -62,6 +62,10 @@

#ifndef _BSD_SOURCE
#define _BSD_SOURCE
/**
* _BSD_SOURCE has been replaced with the _DEFAULT_SOURCE macro
*/
#define _DEFAULT_SOURCE 1
#endif

#include <time.h>
Expand Down

0 comments on commit 76a8df1

Please sign in to comment.