Skip to content

Commit

Permalink
sss_format.h: include config.h
Browse files Browse the repository at this point in the history
config.h is required for the definitions to work correctly. Compilation
will fail if sss_format.h is included in a file that does not include
directly or indirectly config.h

Reviewed-by: Robbie Harwood <rharwood@redhat.com>
Reviewed-by: Sumit Bose <sbose@redhat.com>
  • Loading branch information
pbrezina authored and sumit-bose committed Dec 16, 2020
1 parent 18b9883 commit 45f2eb5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/util/sss_format.h
Expand Up @@ -27,6 +27,8 @@
#ifndef __SSS_FORMAT_H__
#define __SSS_FORMAT_H__

#include "config.h"

#include <inttypes.h>

/* key_serial_t is defined in keyutils.h as typedef int32_t */
Expand Down

0 comments on commit 45f2eb5

Please sign in to comment.