Skip to content

Commit

Permalink
add missing header
Browse files Browse the repository at this point in the history
  • Loading branch information
recp committed May 25, 2020
1 parent a9a55ea commit a42d5d8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
15 changes: 15 additions & 0 deletions include/ds/version.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*
* Copyright (c), Recep Aslantas.
*
* MIT License (MIT), http://opensource.org/licenses/MIT
* Full license can be found in the LICENSE file
*/

#ifndef ds_version_h
#define ds_version_h

#define DS_VERSION_MAJOR 0
#define DS_VERSION_MINOR 2
#define DS_VERSION_PATCH 2

#endif /* ds_version_h */
4 changes: 4 additions & 0 deletions src/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,8 @@
#define MIN(X, Y) (((X) < (Y)) ? (X) : (Y))
#define MAX(X, Y) (((X) > (Y)) ? (X) : (Y))

#if defined(_WIN32)
# include <malloc.h>
#endif

#endif /* ds_src_common_h */

0 comments on commit a42d5d8

Please sign in to comment.