Skip to content

Commit

Permalink
fix include error
Browse files Browse the repository at this point in the history
  • Loading branch information
Fan Zhang committed Dec 6, 2017
1 parent 461df46 commit 0cf97c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions trusted/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ else
endif
Crypto_Library_Name := sgx_tcrypto

Enclave_C_Files = $(PROJECT_NAME)_t.c $(wildcard $(MBEDTLS_C_DIR)/*.c) glue.c
Enclave_C_Files = $(PROJECT_NAME)_t.c $(wildcard $(MBEDTLS_C_DIR)/*.c) glue.c net_sockets_proxy.c
Enclave_Include_Paths = -I$(MBEDTLS_HEADER_DIR) -I$(SGX_SDK)/include -I$(SGX_SDK)/include/tlibc -I$(SGX_SDK)/include/stlport -I.

Enclave_C_Flags = $(SGX_COMMON_CFLAGS) -nostdinc -fvisibility=hidden -fpie -fstack-protector $(Enclave_Include_Paths)
Expand Down Expand Up @@ -117,4 +117,3 @@ $(Enclave_Name): $(PROJECT_NAME)_t.o $(Enclave_C_Objects)
clean:
@rm -f $(Enclave_Name) $(Signed_Enclave_Name) \
$(Enclave_C_Objects) $(PROJECT_NAME)_t.*

2 changes: 1 addition & 1 deletion trusted/net_sockets_proxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* This file is part of mbed TLS (https://tls.mbed.org)
*/

#include "../../mbedtls_sgx_t.h"
#include "mbedtls_SGX_t.h"
#include "mbedtls/platform.h"

#if !defined(MBEDTLS_CONFIG_FILE)
Expand Down

0 comments on commit 0cf97c7

Please sign in to comment.