Skip to content
Permalink
Browse files

migrate: Fix warning due to missing include

  • Loading branch information
neverpanic committed Jan 2, 2018
1 parent f83d73e commit 87f7cefdd9a82b90074c19a2b8956d82b93461fe
Showing with 3 additions and 2 deletions.
  1. +1 −1 src/cregistry/Makefile.in
  2. +1 −0 src/cregistry/snapshot.c
  3. +1 −1 src/registry2.0/Makefile.in
@@ -12,7 +12,7 @@ SQLEXT_OBJS = sqlext.o vercomp.o
include ../../Mk/macports.autoconf.mk

# required for strdup(3) on Linux and OS X
CPPFLAGS+=-D_XOPEN_SOURCE=600
CPPFLAGS+=-D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE

all:: ${STLIB_NAME} ${SQLEXT_NAME}

@@ -37,6 +37,7 @@
#include "util.h"

#include <sqlite3.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

@@ -18,7 +18,7 @@ INSTALLDIR= ${DESTDIR}${TCL_PACKAGE_PATH}/registry2.0

include $(srcdir)/../../Mk/macports.tea.mk

CPPFLAGS+=-D_XOPEN_SOURCE=600
CPPFLAGS+=-D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE

pkgIndex.tcl: $(SRCS) $(SRCS_AUTOCONF)

0 comments on commit 87f7cef

Please sign in to comment.
You can’t perform that action at this time.