On 08/13/2013 07:19 AM, Holger Hans Peter Freyther wrote:
On Mon, Aug 12, 2013 at 06:31:59PM +0200, Jacob Erlbeck wrote:
--- a/include/osmocom/gsm/gsm_utils.h +++ b/include/osmocom/gsm/gsm_utils.h @@ -28,6 +28,8 @@ #include <stddef.h> #include <stdint.h>
+#include <osmocom/gsm/gsm_utils.h>
the pragma once/ifndef/define is saving us here. We will fix this properly today.
Oops, this should have become osmocom/core/utils.h but then I decided to leave the macro definition in gsm_utils.h. I wasn't very happy with including core/utils.h in a header file just to get some macro definitions. I'd rather have a header file meant to be included by other header files that just includes some macro definitions and/or types and no function prototypes or variables.
Jacob