Commit 1cfb73a1 authored by Yang Tse's avatar Yang Tse
Browse files

Inclusion of <extra/stricmp.h> and <extra/strdup.h> is moved to lib/setup.h

parent 2a585c2f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -71,5 +71,5 @@
#define SEND_TYPE_ARG4 int
#define SEND_TYPE_RETV ssize_t

#include <extra/stricmp.h>
#include <extra/strdup.h>
#define HAVE_EXTRA_STRICMP_H 1
#define HAVE_EXTRA_STRDUP_H  1
+8 −0
Original line number Diff line number Diff line
@@ -165,6 +165,14 @@
#define _REENTRANT
#endif

#ifdef HAVE_EXTRA_STRICMP_H
#  include <extra/stricmp.h>
#endif

#ifdef HAVE_EXTRA_STRDUP_H
#  include <extra/strdup.h>
#endif

#include <stdio.h>
#ifdef HAVE_ASSERT_H
#include <assert.h>