mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 12:00:56 +01:00
fixed autogen script, didnt include config.h into pcp.h
This commit is contained in:
@@ -21,6 +21,7 @@ chmod 700 clean.sh
|
||||
# generate the install include file
|
||||
(echo "#ifndef _HAVE_PCP"; echo "#define _HAVE_PCP"; echo) > include/pcp.h
|
||||
(echo "#ifdef __cplusplus"; echo "extern \"C\" {"; echo "#endif"; echo) >> include/pcp.h
|
||||
echo "#include \"pcp/config.h\"" >> include/pcp.h
|
||||
|
||||
ls include/pcp/*.h | sed 's#include/##' | while read include; do
|
||||
echo "#include \"$include\"" >> include/pcp.h
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "pcp/config.h"
|
||||
#include "pcp/base85.h"
|
||||
#include "pcp/buffer.h"
|
||||
#include "pcp/config.h"
|
||||
#include "pcp/crypto.h"
|
||||
#include "pcp/defines.h"
|
||||
#include "pcp/digital_crc32.h"
|
||||
|
||||
Reference in New Issue
Block a user