[clinfo] 17/36: Some header cleanup

Andreas Beckmann anbe at moszumanska.debian.org
Wed Feb 17 18:32:37 UTC 2016


This is an automated email from the git hooks/post-receive script.

anbe pushed a commit to branch master
in repository clinfo.

commit 29328400625e084524fc69527dd30dd1e1cb42e4
Author: Giuseppe Bilotta <giuseppe.bilotta at gmail.com>
Date:   Wed Dec 9 18:20:02 2015 +0100

    Some header cleanup
---
 src/fmtmacros.h | 4 ++++
 src/strbuf.h    | 3 +++
 2 files changed, 7 insertions(+)

diff --git a/src/fmtmacros.h b/src/fmtmacros.h
index 25f1076..0660583 100644
--- a/src/fmtmacros.h
+++ b/src/fmtmacros.h
@@ -5,6 +5,9 @@
    easier.
  */
 
+#ifndef _FMT_MACROS_H
+#define _FMT_MACROS_H
+
 #ifdef _WIN32
 #  include <stdint.h>
 #  include <stddef.h> // size_t
@@ -22,3 +25,4 @@
 # define PRIuS "zu"
 #endif
 
+#endif
diff --git a/src/strbuf.h b/src/strbuf.h
index 110ec23..1ef4ec9 100644
--- a/src/strbuf.h
+++ b/src/strbuf.h
@@ -3,6 +3,9 @@
  */
 
 #include <ctype.h>
+#include <string.h>
+#include <stdio.h>
+#include "fmtmacros.h"
 
 char *strbuf;
 size_t bufsz, nusz;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/clinfo.git



More information about the Pkg-opencl-commits mailing list