Permalink
Browse files
migrate: Fix warning due to missing include
- Loading branch information
Showing
with
3 additions
and
2 deletions.
-
+1
−1
src/cregistry/Makefile.in
-
+1
−0
src/cregistry/snapshot.c
-
+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) |
|
|
|
|
|
|