summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2017-12-07 18:49:42 +0100
committerDaniel Friesel <derf@finalrewind.org>2017-12-07 18:49:42 +0100
commitc59aafb5b3f6a8063e24c53042be178ada155552 (patch)
treeed7e1b2e6b59cae7895fc1a2e649ff7c2ee8c627 /src
parent402db009d2ecd17bbbc1acb6360d6164c9819316 (diff)
Compile with std=c11 and set appropriate glibc feature test macros
might resolve #333 and #348
Diffstat (limited to 'src')
-rw-r--r--src/gib_hash.c1
-rw-r--r--src/options.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/gib_hash.c b/src/gib_hash.c
index a378b9c..15bbf4a 100644
--- a/src/gib_hash.c
+++ b/src/gib_hash.c
@@ -26,6 +26,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "gib_hash.h"
#include "utils.h"
#include "debug.h"
+#include <strings.h>
gib_hash_node *gib_hash_node_new(char *key, void *data)
{
diff --git a/src/options.c b/src/options.c
index 4f87685..1ed5b54 100644
--- a/src/options.c
+++ b/src/options.c
@@ -27,6 +27,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "feh.h"
#include "filelist.h"
#include "options.h"
+#include <strings.h>
static void check_options(void);
static void feh_getopt_theme(int argc, char **argv);